mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-11 15:00:53 +01:00
Always recreate activity on light theme change (fixes #2720)
This commit is contained in:
parent
b000d96dd6
commit
d65a8e84f0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue