From 60a908a44a5f4e9ea5179a07f612539a3be256b0 Mon Sep 17 00:00:00 2001 From: davidoskky Date: Mon, 22 Nov 2021 07:07:20 +0100 Subject: [PATCH] Clear api version when disconnecting. (#382) Closes #354 --- .../main/java/apps/amine/bou/readerforselfoss/utils/Config.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/apps/amine/bou/readerforselfoss/utils/Config.kt b/app/src/main/java/apps/amine/bou/readerforselfoss/utils/Config.kt index 7c5893a..6dca8e3 100644 --- a/app/src/main/java/apps/amine/bou/readerforselfoss/utils/Config.kt +++ b/app/src/main/java/apps/amine/bou/readerforselfoss/utils/Config.kt @@ -51,6 +51,7 @@ class Config(c: Context) { editor.remove("url") editor.remove("login") editor.remove("password") + editor.remove("apiVersionMajor") editor.apply() val intent = Intent(c, LoginActivity::class.java) if (baseUrlFail) {