Skip to content

Commit

Permalink
Update MainApplication.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
Avinash-Codes authored Dec 17, 2024
1 parent 4bee075 commit 1345e31
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ class MainApplication : Application(), Application.ActivityLifecycleCallbacks {
}
}
}
private fun applyThemeMode(themeMode: String?) {
private fun applyThemeMode(themeMode: String?) {
when (themeMode) {
ThemeMode.LIGHT -> AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO)
ThemeMode.DARK -> AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_YES)
Expand Down

0 comments on commit 1345e31

Please sign in to comment.