Displaying a different text if account does not support instant transfer
This commit is contained in:
parent
95be00ad66
commit
a41a9bd13a
|
@ -196,7 +196,11 @@ fun TransferMoneyDialog(
|
||||||
colors = SwitchDefaults.colors(checkedThumbColor = Colors.CodinuxSecondaryColor)
|
colors = SwitchDefaults.colors(checkedThumbColor = Colors.CodinuxSecondaryColor)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if (accountSupportsInstantTransfer) {
|
||||||
Text("Echtzeitüberweisung (evtl. kostenpflichtig)", Modifier.clickable { instantTransfer = !instantTransfer })
|
Text("Echtzeitüberweisung (evtl. kostenpflichtig)", Modifier.clickable { instantTransfer = !instantTransfer })
|
||||||
|
} else {
|
||||||
|
Text("Echtzeitüberweisung von Konto nicht unterstützt")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue