Do not change the network override from within the repository

This commit is contained in:
davidoskky committed 2022-08-20 12:44:20 +02:00
1 parent 3a2fab8e68
commit e60ed92c6d
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
}