mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-03 23:58:55 +01:00 
			
		
		
		
	Show global update error notifications by default
This commit is contained in:
		@@ -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)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -285,7 +285,7 @@ class SettingsLibraryController : SettingsController() {
 | 
			
		||||
            switchPreference {
 | 
			
		||||
                key = Keys.showLibraryUpdateErrors
 | 
			
		||||
                titleRes = R.string.pref_library_update_error_notification
 | 
			
		||||
                defaultValue = false
 | 
			
		||||
                defaultValue = true
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user