Move currency row overflow menu to the right of the amount field

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QpjMKWGoiT5aJBzhxvXkwp
This commit is contained in:
2026-09-08 09:46:38 +03:00
co-authored by Claude Sonnet 5
parent 200319de86
commit b77455bfc8
@@ -246,6 +246,14 @@ fun PriceScreen(
horizontalArrangement = Arrangement.spacedBy(8.dp),
verticalAlignment = Alignment.CenterVertically,
) {
OutlinedTextField(
value = state.fiatAmounts[code].orEmpty(),
onValueChange = { viewModel.onFiatAmountChanged(code, it) },
label = { Text(code) },
keyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Decimal),
singleLine = true,
modifier = Modifier.weight(1f),
)
CurrencyRowMenu(
code = code,
canMoveUp = index > 0,
@@ -263,14 +271,6 @@ fun PriceScreen(
},
onRemove = { viewModel.onFiatCurrencyToggled(code) },
)
OutlinedTextField(
value = state.fiatAmounts[code].orEmpty(),
onValueChange = { viewModel.onFiatAmountChanged(code, it) },
label = { Text(code) },
keyboardOptions = KeyboardOptions(keyboardType = KeyboardType.Decimal),
singleLine = true,
modifier = Modifier.weight(1f),
)
}
}
}