From ec5e6958ef4f12f6cdf6694a37637770ca1e67da Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 6 Jun 2021 22:27:53 -0400 Subject: [PATCH] Show global update error notifications by default --- .../eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt | 2 +- .../eu/kanade/tachiyomi/ui/setting/SettingsLibraryController.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt b/app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt index 9b061c2e58..0ce869d628 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/preference/PreferencesHelper.kt @@ -82,7 +82,7 @@ class PreferencesHelper(val context: Context) { fun autoUpdateTrackers() = prefs.getBoolean(Keys.autoUpdateTrackers, false) - fun showLibraryUpdateErrors() = prefs.getBoolean(Keys.showLibraryUpdateErrors, false) + fun showLibraryUpdateErrors() = prefs.getBoolean(Keys.showLibraryUpdateErrors, true) fun themeMode() = flowPrefs.getEnum(Keys.themeMode, Values.ThemeMode.system) diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsLibraryController.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsLibraryController.kt index e0ffc7ad2b..d5f0a15bf6 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsLibraryController.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/setting/SettingsLibraryController.kt @@ -285,7 +285,7 @@ class SettingsLibraryController : SettingsController() { switchPreference { key = Keys.showLibraryUpdateErrors titleRes = R.string.pref_library_update_error_notification - defaultValue = false + defaultValue = true } } }