Fix crash on login (#664)
Fix crash on login Co-authored-by: M M Arif <mmarif@swatian.com> Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/664
This commit is contained in:
parent
ef07302c85
commit
48d74a65b3
@ -141,6 +141,8 @@ public class AddNewAccountActivity extends BaseActivity {
|
|||||||
|
|
||||||
assert version != null;
|
assert version != null;
|
||||||
|
|
||||||
|
tinyDB.putString("giteaVersion", version.getVersion());
|
||||||
|
|
||||||
try {
|
try {
|
||||||
giteaVersion = new Version(version.getVersion());
|
giteaVersion = new Version(version.getVersion());
|
||||||
}
|
}
|
||||||
|
@ -280,6 +280,8 @@ public class LoginActivity extends BaseActivity {
|
|||||||
|
|
||||||
assert version != null;
|
assert version != null;
|
||||||
|
|
||||||
|
tinyDB.putString("giteaVersion", version.getVersion());
|
||||||
|
|
||||||
try {
|
try {
|
||||||
gitea_version = new Version(version.getVersion());
|
gitea_version = new Version(version.getVersion());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user