diff --git a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/dialogs/TransferMoneyDialog.kt b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/dialogs/TransferMoneyDialog.kt index 62124cf..d1f6290 100644 --- a/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/dialogs/TransferMoneyDialog.kt +++ b/composeApp/src/commonMain/kotlin/net/codinux/banking/ui/dialogs/TransferMoneyDialog.kt @@ -196,7 +196,11 @@ fun TransferMoneyDialog( colors = SwitchDefaults.colors(checkedThumbColor = Colors.CodinuxSecondaryColor) ) - Text("Echtzeitüberweisung (evtl. kostenpflichtig)", Modifier.clickable { instantTransfer = !instantTransfer }) + if (accountSupportsInstantTransfer) { + Text("Echtzeitüberweisung (evtl. kostenpflichtig)", Modifier.clickable { instantTransfer = !instantTransfer }) + } else { + Text("Echtzeitüberweisung von Konto nicht unterstützt") + } } } }