Fix: amount of ERC20 to send in actionsheet for transaction confirmation is displayed incorrectly

pull/2635/head
Hwee-Boon Yar 4 years ago
parent b2e57287f3
commit 6f4325fe60
  1. 2
      AlphaWallet/Transfer/ViewModels/TransactionConfirmationViewModel.swift

@ -197,7 +197,7 @@ extension TransactionConfirmationViewModel {
return "\(double) \(token.symbol)"
}
case .ERC20Token(let token, _, _):
return "\(amount) \(token.symbol)"
return "\(amount.value) \(token.symbol)"
case .ERC875Token, .ERC875TokenOrder, .ERC721Token, .ERC721ForTicketToken, .dapp, .tokenScript, .claimPaidErc875MagicLink:
return String()
}

Loading…
Cancel
Save