From fad7a78de58551a69e014cd0e780eb22a3281318 Mon Sep 17 00:00:00 2001 From: Igor Demin Date: Mon, 11 Sep 2023 09:48:15 +0200 Subject: [PATCH] Safe area --- .../commonMain/kotlin/example/imageviewer/ImageViewer.common.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/imageviewer/shared/src/commonMain/kotlin/example/imageviewer/ImageViewer.common.kt b/examples/imageviewer/shared/src/commonMain/kotlin/example/imageviewer/ImageViewer.common.kt index fafb019946..b0472451d1 100644 --- a/examples/imageviewer/shared/src/commonMain/kotlin/example/imageviewer/ImageViewer.common.kt +++ b/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()