From 767805981fd93d3d1b71963c2d83228003302d96 Mon Sep 17 00:00:00 2001 From: davidoskky Date: Sat, 20 Aug 2022 21:14:13 +0200 Subject: [PATCH] Don't reset offline override before updating remote --- .../bou/amine/apps/readerforselfossv2/android/HomeActivity.kt | 1 - 1 file changed, 1 deletion(-) diff --git a/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/HomeActivity.kt b/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/HomeActivity.kt index b39639b..fc49968 100644 --- a/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/HomeActivity.kt +++ b/androidApp/src/main/java/bou/amine/apps/readerforselfossv2/android/HomeActivity.kt @@ -1017,7 +1017,6 @@ class HomeActivity : AppCompatActivity(), SearchView.OnQueryTextListener, DIAwar Toast.makeText(this, R.string.refresh_in_progress, Toast.LENGTH_SHORT).show() // TODO: Use Dispatchers.IO CoroutineScope(Dispatchers.Main).launch { - repository.offlineOverride = false val updatedRemote = repository.updateRemote() if (updatedRemote) { // TODO: Send toast messages from the repository