Skip to content

Commit

Permalink
feature-remove-block-sending-when-inactivateAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-fan1991 committed Mar 7, 2024
1 parent 6427983 commit d388ab2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ class SendStellarViewModel(
availableBalance = amountState.availableBalance,
amountCaution = amountState.amountCaution,
addressError = addressState.addressError,
proceedEnabled = amountState.canBeSend && addressState.canBeSend && ! addressState.isInactiveAddress,
sendEnabled = cautions.isEmpty()&& ! addressState.isInactiveAddress ,
proceedEnabled = amountState.canBeSend && addressState.canBeSend,
sendEnabled = cautions.isEmpty(),
feeViewState = feeState.viewState,
cautions = cautions
)
Expand Down

0 comments on commit d388ab2

Please sign in to comment.