Do not change the network override from within the repository

This commit is contained in:
davidoskky committed 2022-08-21 23:34:17 +02:00
1 parent d1481a1db6
commit 3c5b606a02
2 files changed
+1 -1

No files matched your search

@@ -333,7 +333,6 @@ class Repository(private val api: SelfossApi, private val apiDetails: ApiDetails
suspend fun updateRemote(): Boolean {
var response = false
offlineOverride = false
if (isConnectionAvailable.value) {
response = api.update()?.isSuccess == true
}