Showing account selection composable if more than one account is available
This commit is contained in:
parent
612341cf45
commit
91c75a388d
|
@ -116,6 +116,7 @@ fun TransferMoneyDialog(
|
|||
onDismiss = onDismiss,
|
||||
onConfirm = { confirmCalled() }
|
||||
) {
|
||||
if (accountsSupportingTransferringMoney.size > 1) {
|
||||
Select(
|
||||
"Konto", "Alle Konten anzeigen",
|
||||
accountsSupportingTransferringMoney, senderAccount, { senderAccount = it },
|
||||
|
@ -128,6 +129,7 @@ fun TransferMoneyDialog(
|
|||
Text("${accountsToUserAccount[account]?.displayName} ${account.displayName}")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Column(Modifier.padding(top = verticalSpace)) {
|
||||
AutocompleteTextFieldNew(
|
||||
|
|
Loading…
Reference in New Issue