From 701773608c390987f7304bb63ff9403f26c2e32d Mon Sep 17 00:00:00 2001 From: Brandon Wissmann Date: Mon, 25 Mar 2019 16:36:31 -0400 Subject: [PATCH] remove ability to change values while signing transaction Signed-off-by: Andrey Shovkoplyas --- src/status_im/ui/screens/wallet/send/views.cljs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/status_im/ui/screens/wallet/send/views.cljs b/src/status_im/ui/screens/wallet/send/views.cljs index 99034b09e4..94a60d4597 100644 --- a/src/status_im/ui/screens/wallet/send/views.cljs +++ b/src/status_im/ui/screens/wallet/send/views.cljs @@ -169,15 +169,15 @@ (when-not online? [wallet.main.views/snackbar :t/error-cant-send-transaction-offline]) [react/view styles/send-transaction-form - [components/recipient-selector {:disabled? (or from-chat? modal?) + [components/recipient-selector {:disabled? (or from-chat? modal? show-password-input?) :address to :name to-name :modal? modal?}] - [components/asset-selector {:disabled? (or from-chat? modal?) + [components/asset-selector {:disabled? (or from-chat? modal? show-password-input?) :error asset-error :type :send :symbol symbol}] - [components/amount-selector {:disabled? (or from-chat? modal?) + [components/amount-selector {:disabled? (or from-chat? modal? show-password-input?) :error (or amount-error (when-not sufficient-funds? (i18n/label :t/wallet-insufficient-funds)) (when-not sufficient-gas? (i18n/label :t/wallet-insufficient-gas)))