Skip to content

Commit

Permalink
Make iOS demo app go edge to edge
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstyl committed Oct 10, 2024
1 parent e461e32 commit 10e01cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion demo-ios/src/iosMain/kotlin/iOSMain.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ fun MainViewController() = ComposeUIViewController {
// BottomSheetDemo()
// ModalBottomSheetDemo()
// SeparatorsDemo()
ScrollAreaDemo()
// ScrollAreaDemo()
ModalBottomSheetDemo()
}
2 changes: 1 addition & 1 deletion iosApp/iosApp/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ struct ComposeView: UIViewControllerRepresentable {
struct ContentView: View {
var body: some View {
ComposeView()
.ignoresSafeArea(.keyboard) // Compose has own keyboard handler
.ignoresSafeArea()
}
}

Expand Down

0 comments on commit 10e01cd

Please sign in to comment.