Skip to content

Commit

Permalink
Update AppTheme when AppThemeMode is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
msasikanth committed Sep 18, 2024
1 parent 9180b09 commit 43955ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ fun App(
) {
val isSystemInDarkTheme = isSystemInDarkTheme()
val useDarkTheme =
remember(isSystemInDarkTheme) {
remember(isSystemInDarkTheme, appState.appThemeMode) {
when (appState.appThemeMode) {
AppThemeMode.Light -> false
AppThemeMode.Dark -> true
Expand Down

0 comments on commit 43955ce

Please sign in to comment.