From a082938270b87ac56cdc2f74d8f0b6dab348ad9d Mon Sep 17 00:00:00 2001 From: dankito Date: Sun, 8 Sep 2024 21:30:11 +0200 Subject: [PATCH] Fixed that "OK" button / button bar was covered by BottomBar --- .../net/codinux/banking/ui/screens/FullscreenViewBase.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/FullscreenViewBase.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/FullscreenViewBase.kt index 88ad2aa..de45943 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/FullscreenViewBase.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/FullscreenViewBase.kt @@ -10,6 +10,7 @@ import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.Color import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.unit.dp +import androidx.compose.ui.zIndex import net.codinux.banking.ui.composables.text.HeaderText import net.codinux.banking.ui.config.Colors import net.codinux.banking.ui.config.DI @@ -22,7 +23,7 @@ fun FullscreenViewBase( onClosed: () -> Unit, content: @Composable () -> Unit ) { - Column(Modifier.fillMaxSize().background(Color.White).padding(8.dp)) { + Column(Modifier.fillMaxSize().zIndex(1000f).background(Color.White).padding(8.dp)) { Row(Modifier.fillMaxWidth()) { HeaderText(title, Modifier.padding(top = 8.dp, bottom = 16.dp).weight(1f))