mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-03 23:58:55 +01:00 
			
		
		
		
	Change default theme to System Default (#2608)
* Change default theme to System Default Hopefully this was the only string that dictated the default setting. * Update PreferencesHelper.kt
This commit is contained in:
		@@ -54,7 +54,7 @@ class PreferencesHelper(val context: Context) {
 | 
			
		||||
 | 
			
		||||
    fun clear() = prefs.edit().clear().apply()
 | 
			
		||||
 | 
			
		||||
    fun themeMode() = rxPrefs.getString(Keys.themeMode, Values.THEME_MODE_LIGHT)
 | 
			
		||||
    fun themeMode() = rxPrefs.getString(Keys.themeMode, Values.THEME_MODE_SYSTEM)
 | 
			
		||||
 | 
			
		||||
    fun themeDark() = prefs.getString(Keys.themeDark, Values.THEME_DARK_DEFAULT)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -71,7 +71,7 @@ class SettingsGeneralController : SettingsController() {
 | 
			
		||||
                        Values.THEME_MODE_LIGHT,
 | 
			
		||||
                        Values.THEME_MODE_DARK)
 | 
			
		||||
            }
 | 
			
		||||
            defaultValue = Values.THEME_MODE_LIGHT
 | 
			
		||||
            defaultValue = Values.THEME_MODE_SYSTEM
 | 
			
		||||
            summary = "%s"
 | 
			
		||||
 | 
			
		||||
            onChange {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user