Send screen amount focus handling

This commit is contained in:
Milan Cerovsky 2024-08-20 15:53:51 +02:00
parent a75d92fbc7
commit de7be86ec1
1 changed files with 5 additions and 1 deletions

View File

@ -695,7 +695,11 @@ fun SendFormAmountTextField(
focusManager.clearFocus(true)
},
onNext = {
focusManager.moveFocus(FocusDirection.Right)
if (exchangeRateState is ExchangeRateState.Data) {
focusManager.moveFocus(FocusDirection.Right)
} else {
focusManager.moveFocus(FocusDirection.Down)
}
}
),
bringIntoViewRequester = bringIntoViewRequester,