Clear api version when disconnecting. (#382)

Closes #354
This commit is contained in:
davidoskky 2021-11-22 07:07:20 +01:00 committed by GitHub
parent 6b887ff74b
commit 60a908a44a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,6 +51,7 @@ class Config(c: Context) {
editor.remove("url") editor.remove("url")
editor.remove("login") editor.remove("login")
editor.remove("password") editor.remove("password")
editor.remove("apiVersionMajor")
editor.apply() editor.apply()
val intent = Intent(c, LoginActivity::class.java) val intent = Intent(c, LoginActivity::class.java)
if (baseUrlFail) { if (baseUrlFail) {