Skip to content

Commit 9743db3

Browse files
committed
[feature/#44] 상태바 아이콘 색상 반전
1 parent 4e991f3 commit 9743db3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

composeApp/src/androidMain/kotlin/com/nexters/emotia/MainActivity.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,19 @@ import androidx.activity.enableEdgeToEdge
77
import androidx.compose.runtime.Composable
88
import androidx.compose.ui.tooling.preview.Preview
99
import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen
10+
import androidx.core.view.WindowCompat
1011
import com.nexters.emotia.core.platform.AndroidContext
1112

1213
class MainActivity : ComponentActivity() {
1314
override fun onCreate(savedInstanceState: Bundle?) {
1415
installSplashScreen()
15-
1616
enableEdgeToEdge()
1717
super.onCreate(savedInstanceState)
1818

19+
// 상태 바 아이콘 색상 반전
20+
WindowCompat.getInsetsController(window, window.decorView).isAppearanceLightStatusBars =
21+
false
22+
1923
// Android Context 초기화
2024
AndroidContext.init(this)
2125

0 commit comments

Comments
 (0)