From af11aead6379453a382cf79ee2c288324ed2ec65 Mon Sep 17 00:00:00 2001 From: Ivan Vershigora Date: Sun, 22 Nov 2020 11:42:33 +0300 Subject: [PATCH] REF: use allBalance instead of fromWallet.getBalance() in send/details render component --- screen/send/details.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/screen/send/details.js b/screen/send/details.js index 0c1c94b15..e183d8922 100644 --- a/screen/send/details.js +++ b/screen/send/details.js @@ -1420,14 +1420,14 @@ export default class SendDetails extends Component { {Platform.select({ ios: ( 0} + canUseAll={fromWallet.allowSendMax() && allBalance > 0} onUseAllPressed={this.onUseAllPressed} balance={allBalance} /> ), android: this.state.isAmountToolbarVisibleForAndroid && ( 0} + canUseAll={fromWallet.allowSendMax() && allBalance > 0} onUseAllPressed={this.onUseAllPressed} balance={allBalance} />