Skip to content

Commit

Permalink
Fix potential statusBarsPadding error on desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
Him188 committed Jul 1, 2024
1 parent 151c227 commit dde2878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/desktop/src/main/kotlin/AniDesktop.kt
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ private fun MainWindowContent(
}
Box(
Modifier.background(color = AppTheme.colorScheme.background)
.ifThen(isFullscreen) {
.ifThen(!isFullscreen) {
statusBarsPadding()
}
.padding(top = if (hostIsMacOs && windowImmersed && isFullscreen) 28.dp else 0.dp) // safe area for macOS if windowImmersed
Expand Down

0 comments on commit dde2878

Please sign in to comment.