Skip to content

Commit

Permalink
[System] 디자인시스템 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
ajou4095 committed Jan 28, 2024
1 parent 5a17875 commit fda150e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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
}
}

0 comments on commit fda150e

Please sign in to comment.