Fixing api version issue on login.

This commit is contained in:
aminecmi committed 2022-08-26 23:37:02 +02:00
1 parent 17293e5574
commit 8cf462a755
2 files changed
+3 -1

No files matched your search

@@ -354,7 +354,7 @@ class Repository(private val api: SelfossApi, private val appSettingsService: Ap
api.refreshLoginInformation()
}
private suspend fun updateApiVersion() {
suspend fun updateApiVersion() {
val apiMajorVersion = appSettingsService.getApiVersion()
if (isNetworkAvailable()) {