Fixed that back button works in ExportScreen

This commit is contained in:
dankito 2024-09-13 17:53:03 +02:00
parent 56b73ca986
commit 41586b0148
1 changed files with 24 additions and 17 deletions

View File

@ -10,6 +10,8 @@ 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.window.Dialog
import androidx.compose.ui.window.DialogProperties
import androidx.compose.ui.zIndex
import net.codinux.banking.ui.composables.text.HeaderText
import net.codinux.banking.ui.config.Colors
@ -22,6 +24,10 @@ fun FullscreenViewBase(
confirmButtonEnabled: Boolean = true,
onClosed: () -> Unit,
content: @Composable () -> Unit
) {
Dialog(
onClosed,
properties = DialogProperties(usePlatformDefaultWidth = false)
) {
Column(Modifier.fillMaxSize().zIndex(1000f).background(Color.White).padding(8.dp)) {
@ -56,3 +62,4 @@ fun FullscreenViewBase(
}
}
}
}