Skip to content

Commit

Permalink
Enable edge-to-edge
Browse files Browse the repository at this point in the history
  • Loading branch information
aabewhite committed Apr 23, 2024
1 parent 60fa8ac commit 1efa8e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Android/app/src/main/kotlin/hello/skip/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -42,6 +43,7 @@ open class MainActivity: AppCompatActivity {

override fun onCreate(savedInstanceState: android.os.Bundle?) {
super.onCreate(savedInstanceState)
enableEdgeToEdge()

setContent {
val saveableStateHolder = rememberSaveableStateHolder()
Expand Down

0 comments on commit 1efa8e7

Please sign in to comment.