Fix old URLs which do not have a slash at the end. (#568)
Merge branch 'master' into fix-older-urls Fix old URLs which do not have a slash at the end. Co-authored-by: opyale <opyale@noreply.gitea.io> Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/568 Reviewed-by: M M Arif <mmarif@noreply.codeberg.org>
This commit is contained in:
		| @@ -103,6 +103,11 @@ public abstract class BaseActivity extends AppCompatActivity { | ||||
| 			tinyDb.putString("cacheSizeImagesStr", getResources().getString(R.string.cacheSizeImagesSelectionSelectedText)); | ||||
| 		} | ||||
|  | ||||
| 		if(!tinyDb.getString("instanceUrlWithProtocol").endsWith("/")) { | ||||
|  | ||||
| 			tinyDb.putString("instanceUrlWithProtocol", tinyDb.getString("instanceUrlWithProtocol") + "/"); | ||||
| 		} | ||||
|  | ||||
| 		if (tinyDb.getBoolean("crashReportingEnabled")) { | ||||
|  | ||||
| 			CoreConfigurationBuilder ACRABuilder = new CoreConfigurationBuilder(this); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user