From 0a46dd931f9870a8824456a8000ec3fcc3b9946e Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 15 Oct 2024 11:18:31 +0200 Subject: [PATCH] Added hint how to use EPC QR code --- .../net/codinux/banking/ui/screens/CreateEpcQrCodeScreen.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/CreateEpcQrCodeScreen.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/CreateEpcQrCodeScreen.kt index 9e9c17a..b927a0e 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/CreateEpcQrCodeScreen.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/CreateEpcQrCodeScreen.kt @@ -13,6 +13,7 @@ import androidx.compose.ui.Modifier import androidx.compose.ui.focus.FocusRequester import androidx.compose.ui.focus.focusRequester import androidx.compose.ui.layout.ContentScale +import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.unit.dp import net.codinux.banking.persistence.entities.BankAccountEntity import net.codinux.banking.ui.composables.BankIcon @@ -101,6 +102,10 @@ fun CreateEpcQrCodeScreen(onClosed: () -> Unit) { Row(Modifier.fillMaxWidth().padding(bottom = 8.dp), horizontalArrangement = Arrangement.Center, verticalAlignment = Alignment.CenterVertically) { Image(createImageBitmap(epcQrCodeBytes!!), "Erzeugter EPC QR Code", Modifier.height(imageHeight.dp), contentScale = ContentScale.FillHeight) } + + Row(Modifier.fillMaxWidth(), horizontalArrangement = Arrangement.Center) { + Text("Scannen Sie diesen Code auf einem anderen Gerät mit einer Banking App, z. B. Bankmeister", textAlign = TextAlign.Center, modifier = Modifier.padding(horizontal = 16.dp).padding(top = 8.dp)) + } }