mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-16 05:19:12 +00:00
same send button text for xrp and eth
This commit is contained in:
parent
53c7c20a29
commit
2927f5ebaf
@ -248,7 +248,10 @@ const AccountSend = (props: Props) => {
|
||||
}
|
||||
|
||||
let isSendButtonDisabled: boolean = Object.keys(errors).length > 0 || total === '0' || amount.length === 0 || address.length === 0 || sending;
|
||||
let sendButtonText: string = ` ${total} ${network.symbol}`;
|
||||
let sendButtonText: string = 'Send';
|
||||
if (total !== '0') {
|
||||
sendButtonText = `${sendButtonText} ${total} ${network.symbol}`;
|
||||
}
|
||||
|
||||
if (!device.connected) {
|
||||
sendButtonText = 'Device is not connected';
|
||||
|
Loading…
Reference in New Issue
Block a user