Skip to content

Commit dd063ca

Browse files
authored
[fix]스테이터스바 light mode 고정으로 컬러 대응 (#81)
1 parent 5171380 commit dd063ca

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/src/main/java/com/depromeet/team5/MainActivity.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
package com.depromeet.team5
22

3+
import android.graphics.Color.TRANSPARENT
34
import android.os.Bundle
45
import androidx.activity.ComponentActivity
6+
import androidx.activity.SystemBarStyle
57
import androidx.activity.compose.setContent
68
import androidx.activity.enableEdgeToEdge
79
import androidx.compose.runtime.remember
@@ -29,7 +31,7 @@ class MainActivity : ComponentActivity() {
2931

3032
override fun onCreate(savedInstanceState: Bundle?) {
3133
super.onCreate(savedInstanceState)
32-
enableEdgeToEdge()
34+
enableEdgeToEdge(statusBarStyle = SystemBarStyle.light(TRANSPARENT, TRANSPARENT))
3335
setContent {
3436
DepromeetTheme {
3537
val context = LocalContext.current

0 commit comments

Comments
 (0)