diff --git a/presentation/src/main/kotlin/ac/dnd/bookkeeping/android/presentation/common/theme/Theme.kt b/presentation/src/main/kotlin/ac/dnd/bookkeeping/android/presentation/common/theme/Theme.kt index bd221e99..3fbda7e3 100644 --- a/presentation/src/main/kotlin/ac/dnd/bookkeeping/android/presentation/common/theme/Theme.kt +++ b/presentation/src/main/kotlin/ac/dnd/bookkeeping/android/presentation/common/theme/Theme.kt @@ -6,7 +6,6 @@ import androidx.compose.material.darkColors import androidx.compose.material.lightColors import androidx.compose.runtime.Composable import androidx.compose.runtime.SideEffect -import androidx.compose.ui.graphics.Color import com.google.accompanist.systemuicontroller.rememberSystemUiController private val DarkColorPalette = darkColors( @@ -49,8 +48,9 @@ fun BookkeepingTheme(darkTheme: Boolean = isSystemInDarkTheme(), content: @Compo ) val systemUiController = rememberSystemUiController() + SideEffect { - systemUiController.setSystemBarsColor(Color.White) + systemUiController.setSystemBarsColor(colors.background) systemUiController.isNavigationBarVisible = false } }