Skip to content

Commit

Permalink
login: smoother theme change (fixes #4879)
Browse files Browse the repository at this point in the history
  • Loading branch information
Avinash-Codes committed Dec 17, 2024
1 parent 1345e31 commit b4ea468
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ class MainApplication : Application(), Application.ActivityLifecycleCallbacks {
}
}
}

private fun applyThemeMode(themeMode: String?) {
when (themeMode) {
ThemeMode.LIGHT -> AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO)
Expand Down

0 comments on commit b4ea468

Please sign in to comment.