Fixing api version issue on login.

This commit is contained in:
aminecmi
2022-08-26 22:58:02 +02:00
parent 17293e5574
commit 8cf462a755
2 changed files with 3 additions and 1 deletions

View File

@ -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()) {