Browse Source

Safe area

igor.demin/retake-screenshots
Igor Demin 9 months ago
parent
commit
fad7a78de5
  1. 2
      examples/imageviewer/shared/src/commonMain/kotlin/example/imageviewer/ImageViewer.common.kt

2
examples/imageviewer/shared/src/commonMain/kotlin/example/imageviewer/ImageViewer.common.kt

@ -41,7 +41,7 @@ fun ImageViewerCommon(
dependencies: Dependencies
) {
MaterialTheme {
Box(Modifier.fillMaxSize().background(Color.White)) {
Box(Modifier.fillMaxSize().background(Color.White).windowInsetsPadding(WindowInsets.safeContent)) {
CommonDialog()
//NaturalScrolling()
//DynamicType()

Loading…
Cancel
Save