1
0
mirror of https://github.com/mihonapp/mihon.git synced 2025-08-20 21:41:30 +02:00

Always recreate activity on light theme change (fixes )

This commit is contained in:
arkon
2020-03-16 17:27:55 -04:00
parent b000d96dd6
commit d65a8e84f0

@@ -134,7 +134,7 @@ class SettingsGeneralController : SettingsController() {
.subscribeUntilDestroy { isVisible = it != Values.THEME_MODE_DARK } .subscribeUntilDestroy { isVisible = it != Values.THEME_MODE_DARK }
onChange { onChange {
if (preferences.themeMode().getOrDefault() == Values.THEME_MODE_LIGHT) { if (preferences.themeMode().getOrDefault() != Values.THEME_MODE_DARK) {
activity?.recreate() activity?.recreate()
} }
true true