From 2bda0dbe7e0081d21648744888cac46fa5bfcb85 Mon Sep 17 00:00:00 2001 From: M M Arif Date: Sat, 28 Mar 2020 21:08:11 +0500 Subject: [PATCH] fix http protocol for open repo url --- .../main/java/org/mian/gitnex/activities/LoginActivity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/mian/gitnex/activities/LoginActivity.java b/app/src/main/java/org/mian/gitnex/activities/LoginActivity.java index 5136b096..0ba138ea 100644 --- a/app/src/main/java/org/mian/gitnex/activities/LoginActivity.java +++ b/app/src/main/java/org/mian/gitnex/activities/LoginActivity.java @@ -245,7 +245,7 @@ public class LoginActivity extends BaseActivity implements View.OnClickListener } else { instanceUrl = "http://" + instanceHost + "/api/v1/"; - instanceUrlWithProtocol = "https://" + instanceHost; + instanceUrlWithProtocol = "http://" + instanceHost; } tinyDb.putString("instanceUrlRaw", instanceHost); @@ -334,7 +334,7 @@ public class LoginActivity extends BaseActivity implements View.OnClickListener } else { instanceUrl = "http://" + instanceHost + "/api/v1/"; - instanceUrlWithProtocol = "https://" + instanceHost; + instanceUrlWithProtocol = "http://" + instanceHost; } tinyDb.putString("instanceUrlRaw", instanceHost);