From 1efa8e775430107d5d2c5168c7e49525030f61bb Mon Sep 17 00:00:00 2001 From: Abe White Date: Tue, 23 Apr 2024 16:51:48 -0500 Subject: [PATCH] Enable edge-to-edge --- Android/app/src/main/kotlin/hello/skip/Main.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Android/app/src/main/kotlin/hello/skip/Main.kt b/Android/app/src/main/kotlin/hello/skip/Main.kt index 2e872dc..ddf9f5b 100644 --- a/Android/app/src/main/kotlin/hello/skip/Main.kt +++ b/Android/app/src/main/kotlin/hello/skip/Main.kt @@ -7,6 +7,7 @@ import skip.ui.* import android.Manifest import android.app.Application +import androidx.activity.enableEdgeToEdge import androidx.activity.compose.setContent import androidx.appcompat.app.AppCompatActivity import androidx.compose.foundation.isSystemInDarkTheme @@ -42,6 +43,7 @@ open class MainActivity: AppCompatActivity { override fun onCreate(savedInstanceState: android.os.Bundle?) { super.onCreate(savedInstanceState) + enableEdgeToEdge() setContent { val saveableStateHolder = rememberSaveableStateHolder()