Fix empty release notes bug Add new sponsor Fix bug #549, add more file ext to file viewer Co-authored-by: M M Arif <mmarif@swatian.com> Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/560 Reviewed-by: opyale <opyale@noreply.codeberg.org> Reviewed-by: 6543 <6543@noreply.codeberg.org>
This commit is contained in:
@@ -273,11 +273,11 @@ public class LoginActivity extends BaseActivity implements View.OnClickListener
|
||||
String instanceUrlWithProtocol;
|
||||
if(protocol.toLowerCase().equals("https")) {
|
||||
instanceUrl = "https://" + instanceHost + "/api/v1/";
|
||||
instanceUrlWithProtocol = "https://" + instanceHost;
|
||||
instanceUrlWithProtocol = "https://" + instanceHost + "/";
|
||||
}
|
||||
else {
|
||||
instanceUrl = "http://" + instanceHost + "/api/v1/";
|
||||
instanceUrlWithProtocol = "http://" + instanceHost;
|
||||
instanceUrlWithProtocol = "http://" + instanceHost + "/";
|
||||
}
|
||||
|
||||
tinyDb.putString("instanceUrlRaw", instanceHost);
|
||||
|
||||
Reference in New Issue
Block a user