Updated on 2026-08-14
This commit is contained in:
parent
5a1416e5f5
commit
bd9d87c24f
1 changed files with 3 additions and 3 deletions
|
|
@ -511,13 +511,13 @@ internal class SendModel @Inject constructor(
|
|||
when (currentState.type) {
|
||||
SendUiStateType.Fee,
|
||||
SendUiStateType.EditFee,
|
||||
-> if (uiState.value.feeState?.isPrimaryButtonEnabled == false) return
|
||||
-> if (uiState.value.getFeeState(isFromEdit)?.isPrimaryButtonEnabled == false) return
|
||||
SendUiStateType.Amount,
|
||||
SendUiStateType.EditAmount,
|
||||
-> if (!uiState.value.amountState.isPrimaryButtonEnabled) return
|
||||
-> if (!uiState.value.getAmountState(isFromEdit).isPrimaryButtonEnabled) return
|
||||
SendUiStateType.Recipient,
|
||||
SendUiStateType.EditRecipient,
|
||||
-> if (uiState.value.recipientState?.isPrimaryButtonEnabled == false) return
|
||||
-> if (uiState.value.getRecipientState(isFromEdit)?.isPrimaryButtonEnabled == false) return
|
||||
SendUiStateType.Send -> if (uiState.value.sendState?.isPrimaryButtonEnabled == false) return
|
||||
SendUiStateType.None -> return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue