Improve disconnect display

This commit is contained in:
Phillip Thelen 2022-07-18 19:38:03 +02:00
parent dce7cbc450
commit 5d0f838424

View file

@ -94,6 +94,9 @@ class ApiClient @Inject constructor(
cacheControl.maxAge(1, TimeUnit.DAYS)
}
} else {
if (!hasNetwork(context)) {
appStateManager.isAppConnected.value = false
}
cacheControl.noCache()
.noStore()
}