fixed false applying theme

This commit is contained in:
gdlbo
2023-03-05 15:56:46 +03:00
parent 8bf424f549
commit 4a933110e9
@@ -22,7 +22,7 @@ public class SystemThemeChangerHook {
|| uiMode == Configuration.UI_MODE_NIGHT_NO)
theme = ThemesUtils.getLightTheme();
if (theme != null) {
if (theme != null && theme != ThemesUtils.getCurrentTheme()) {
ThemesUtils.applyTheme(theme);
sPrevUiMode = uiMode;
}