Fixed incorrect theme

This commit is contained in:
Prathamesh More 2022-01-17 20:11:28 +05:30
parent c7f7f9d695
commit 959235ad02
5 changed files with 10 additions and 14 deletions

View file

@ -53,7 +53,7 @@ class RestoreActivity : AppCompatActivity() {
}
private fun updateTheme() {
AppCompatDelegate.setDefaultNightMode(ThemeManager.getNightMode(this))
AppCompatDelegate.setDefaultNightMode(ThemeManager.getNightMode())
// Apply dynamic colors to activity if enabled
if (PreferenceUtil.materialYou) {