Skip to content

Commit

Permalink
Update Theme.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
ZoeMeow1027 committed Sep 7, 2024
1 parent 6f486ef commit 9eeef73
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app/src/main/java/io/zoemeow/dutschedule/ui/theme/Theme.kt
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@ fun DutScheduleTheme(
// true -> android.graphics.Color.TRANSPARENT
// false -> colorScheme.primary.toArgb()
// }
WindowCompat.getInsetsController(window, view).isAppearanceLightStatusBars = when (translucentStatusBar) {
true -> !darkTheme
false -> darkTheme
}
// WindowCompat.getInsetsController(window, view).isAppearanceLightStatusBars = when (translucentStatusBar) {
// true -> !darkTheme
// false -> darkTheme
// }
WindowCompat.getInsetsController(window, view).isAppearanceLightStatusBars = !darkTheme
}
}

Expand Down

0 comments on commit 9eeef73

Please sign in to comment.