Skip to content

Commit

Permalink
Remove systemPadding from demo
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstyl committed Jul 16, 2024
1 parent 025db24 commit f880025
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions demo-menu/src/androidMain/kotlin/MainActivity.kt
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
package com.composables.core.demo

import MenuDemo
import android.os.Bundle
import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.systemBarsPadding
import androidx.compose.ui.Modifier

class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
Expand All @@ -17,9 +13,7 @@ class MainActivity : ComponentActivity() {
actionBar?.hide()

setContent {
Box(Modifier.systemBarsPadding()) {
MenuDemo()
}
MenuDemo()
}
}
}

0 comments on commit f880025

Please sign in to comment.