diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/TransferMoneyFromQrCodeScreen.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/TransferMoneyFromQrCodeScreen.kt index cedbae0..cac3bca 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/TransferMoneyFromQrCodeScreen.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/screens/TransferMoneyFromQrCodeScreen.kt @@ -2,6 +2,7 @@ package net.codinux.banking.ui.screens import androidx.compose.runtime.Composable import net.codinux.banking.ui.config.DI +import net.codinux.banking.ui.model.Config.NewLine import net.codinux.banking.ui.model.error.ErroneousAction import net.codinux.banking.ui.service.QrCodeService @@ -19,7 +20,7 @@ fun TransferMoneyFromQrCodeScreen(onClosed: () -> Unit) { if (decodingResult.data != null) { DI.uiState.showTransferMoneyDialogData.value = decodingResult.data } else if (decodingResult.error != null) { - DI.uiState.applicationErrorOccurred(ErroneousAction.ReadEpcQrCode, decodingResult.error) + DI.uiState.applicationErrorOccurred(ErroneousAction.ReadEpcQrCode, decodingResult.error + "${NewLine}${NewLine}Gelesener QR-Code ist:${NewLine}${result.decodedQrCodeText}") } } }