diff --git a/features/ui-main-container/src/main/java/com/pluu/webtoon/main/container/ui/NavigationActivity.kt b/features/ui-main-container/src/main/java/com/pluu/webtoon/main/container/ui/NavigationActivity.kt index 8ff81d04..a1d102ed 100644 --- a/features/ui-main-container/src/main/java/com/pluu/webtoon/main/container/ui/NavigationActivity.kt +++ b/features/ui-main-container/src/main/java/com/pluu/webtoon/main/container/ui/NavigationActivity.kt @@ -38,17 +38,12 @@ class NavigationActivity : FragmentActivity() { } } - private fun updateTheme(it: Boolean) { + private fun updateTheme(isForceDark: Boolean) { enableEdgeToEdge( - statusBarStyle = if (it) { - SystemBarStyle.dark( - Color.TRANSPARENT - ) + statusBarStyle = if (isForceDark) { + SystemBarStyle.dark(Color.TRANSPARENT) } else { - SystemBarStyle.light( - Color.TRANSPARENT, - Color.TRANSPARENT - ) + SystemBarStyle.auto(Color.TRANSPARENT, Color.TRANSPARENT) } ) }