mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 06:17:57 +01:00 
			
		
		
		
	Always recreate activity on light theme change (fixes #2720)
This commit is contained in:
		| @@ -134,7 +134,7 @@ class SettingsGeneralController : SettingsController() { | ||||
|                         .subscribeUntilDestroy { isVisible = it != Values.THEME_MODE_DARK } | ||||
|  | ||||
|                 onChange { | ||||
|                     if (preferences.themeMode().getOrDefault() == Values.THEME_MODE_LIGHT) { | ||||
|                     if (preferences.themeMode().getOrDefault() != Values.THEME_MODE_DARK) { | ||||
|                         activity?.recreate() | ||||
|                     } | ||||
|                     true | ||||
|   | ||||
		Reference in New Issue
	
	Block a user