File tree Expand file tree Collapse file tree
app/src/main/java/com/mapbox/maps/testapp/examples
compose-app/src/main/java/com/mapbox/maps/compose/testapp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ class EdgeToEdgeActivity : AppCompatActivity() {
124124
125125 // Set dark system bar icons (more visible on light map backgrounds)
126126 WindowCompat .getInsetsController(window, window.decorView).apply {
127- isAppearanceLightStatusBars = true // true = dark icons
127+ isAppearanceLightStatusBars = true // true = dark icons
128128 isAppearanceLightNavigationBars = true
129129 }
130130 }
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ package com.mapbox.maps.compose.testapp
33import android.app.Activity
44import androidx.compose.foundation.layout.Column
55import androidx.compose.foundation.layout.PaddingValues
6- import androidx.compose.foundation.layout.Spacer
76import androidx.compose.foundation.layout.WindowInsets
87import androidx.compose.foundation.layout.statusBars
98import androidx.compose.foundation.layout.windowInsetsPadding
@@ -73,7 +72,7 @@ public fun ExampleScaffold(
7372 }
7473 }
7574 } else null ,
76- elevation = 0 .dp // Prevent TopAppBar shadow (Surface provides elevation)
75+ elevation = 0 .dp // Prevent TopAppBar shadow (Surface provides elevation)
7776 )
7877 }
7978 }
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import android.os.Build
44import android.os.Bundle
55import androidx.activity.ComponentActivity
66import androidx.activity.compose.setContent
7- import androidx.core.view.WindowCompat
87import androidx.compose.foundation.layout.Box
98import androidx.compose.foundation.layout.PaddingValues
109import androidx.compose.foundation.layout.WindowInsets
@@ -16,6 +15,7 @@ import androidx.compose.foundation.layout.windowInsetsPadding
1615import androidx.compose.ui.Alignment
1716import androidx.compose.ui.Modifier
1817import androidx.compose.ui.unit.dp
18+ import androidx.core.view.WindowCompat
1919import com.mapbox.maps.compose.testapp.examples.utils.CityLocations
2020import com.mapbox.maps.compose.testapp.ui.theme.MapboxMapComposeTheme
2121import com.mapbox.maps.extension.compose.MapboxMap
You can’t perform that action at this time.
0 commit comments