Added account's currency next to amount TextField
This commit is contained in:
parent
8005b44309
commit
ae95673856
|
@ -180,17 +180,17 @@ fun TransferMoneyDialog(
|
|||
keyboardOptions = KeyboardOptions(imeAction = ImeAction.Next)
|
||||
)
|
||||
|
||||
Spacer(modifier = Modifier.height(verticalSpace))
|
||||
Row(Modifier.padding(vertical = verticalSpace).fillMaxWidth(), verticalAlignment = Alignment.CenterVertically) {
|
||||
OutlinedTextField(
|
||||
value = amount,
|
||||
onValueChange = { amount = it },
|
||||
label = { Text("Betrag") },
|
||||
modifier = Modifier.weight(1f).focusRequester(amountFocus),
|
||||
keyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Decimal, imeAction = ImeAction.Next)
|
||||
)
|
||||
|
||||
OutlinedTextField(
|
||||
value = amount,
|
||||
onValueChange = { amount = it },
|
||||
label = { Text("Betrag") },
|
||||
modifier = Modifier.fillMaxWidth().focusRequester(amountFocus),
|
||||
keyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Decimal, imeAction = ImeAction.Next)
|
||||
)
|
||||
|
||||
Spacer(modifier = Modifier.height(verticalSpace))
|
||||
Text(formatUtil.formatCurrency(senderAccount.currency), Modifier.padding(start = 4.dp))
|
||||
}
|
||||
|
||||
AutocompleteTextField(
|
||||
"Verwendungszweck (optional)",
|
||||
|
|
Loading…
Reference in New Issue