Updated on 2026-08-14
This commit is contained in:
parent
4935692735
commit
3fe6b7008a
1 changed files with 6 additions and 1 deletions
|
|
@ -70,7 +70,12 @@ class GetCryptoCurrencyActionsUseCase(
|
|||
}
|
||||
|
||||
// send
|
||||
activeList.add(TokenActionsState.ActionState.Send(true))
|
||||
if (cryptoCurrencyStatus.value.amount?.signum() == 0) {
|
||||
disabledList.add(TokenActionsState.ActionState.Send(false))
|
||||
} else {
|
||||
activeList.add(TokenActionsState.ActionState.Send(true))
|
||||
}
|
||||
|
||||
// receive
|
||||
activeList.add(TokenActionsState.ActionState.Receive(true))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue