remove ability to change values while signing transaction

Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
Brandon Wissmann 2019-03-25 16:36:31 -04:00 committed by Andrey Shovkoplyas
parent 722fd67938
commit 701773608c
No known key found for this signature in database
GPG Key ID: EAAB7C8622D860A4

View File

@ -169,15 +169,15 @@
(when-not online? (when-not online?
[wallet.main.views/snackbar :t/error-cant-send-transaction-offline]) [wallet.main.views/snackbar :t/error-cant-send-transaction-offline])
[react/view styles/send-transaction-form [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 :address to
:name to-name :name to-name
:modal? modal?}] :modal? modal?}]
[components/asset-selector {:disabled? (or from-chat? modal?) [components/asset-selector {:disabled? (or from-chat? modal? show-password-input?)
:error asset-error :error asset-error
:type :send :type :send
:symbol symbol}] :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 :error (or amount-error
(when-not sufficient-funds? (i18n/label :t/wallet-insufficient-funds)) (when-not sufficient-funds? (i18n/label :t/wallet-insufficient-funds))
(when-not sufficient-gas? (i18n/label :t/wallet-insufficient-gas))) (when-not sufficient-gas? (i18n/label :t/wallet-insufficient-gas)))