Fix amoled dark mode

This commit is contained in:
FooIbar committed 2023-11-16 19:00:43 +08:00
1 parent cd3858ace8
commit 9859a1eaac
1 file changed
+1 -2
@@ -54,9 +54,8 @@ fun updateWhenThemeChanges() {
else -> UiModeManager.MODE_NIGHT_AUTO
}
uiModeManager.setApplicationNightMode(mode)
} else {
AppCompatDelegate.setDefaultNightMode(Settings.theme)
}
AppCompatDelegate.setDefaultNightMode(Settings.theme)
}
}