Skip to content

Commit

Permalink
bug #4404 - removed the 21 char limit from amount field in send and r…
Browse files Browse the repository at this point in the history
…equest
  • Loading branch information
goranjovic committed Aug 1, 2018
1 parent 81dbc16 commit 11aff7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/status_im/ui/screens/wallet/request/views.cljs
Expand Up @@ -47,8 +47,7 @@
[components/amount-selector {:error amount-error
:amount amount
:amount-text amount-text
:input-options {:max-length 21
:on-focus (fn [] (when @scroll (utils/set-timeout #(.scrollToEnd @scroll) 100)))
:input-options {:on-focus (fn [] (when @scroll (utils/set-timeout #(.scrollToEnd @scroll) 100)))
:on-change-text #(re-frame/dispatch [:wallet.request/set-and-validate-amount % symbol decimals])}}
token]]]
[bottom-buttons/bottom-buttons styles/bottom-buttons
Expand Down
3 changes: 1 addition & 2 deletions src/status_im/ui/screens/wallet/send/views.cljs
Expand Up @@ -244,8 +244,7 @@
(when-not sufficient-gas? (i18n/label :t/wallet-insufficient-gas)))
:amount amount
:amount-text amount-text
:input-options {:max-length 21
:on-focus (fn [] (when (and scroll @scroll) (utils/set-timeout #(.scrollToEnd @scroll) 100)))
:input-options {:on-focus (fn [] (when (and scroll @scroll) (utils/set-timeout #(.scrollToEnd @scroll) 100)))
:on-change-text #(re-frame/dispatch [:wallet.send/set-and-validate-amount % symbol decimals])}} token]
[advanced-options advanced? transaction modal? scroll]]]
(if signing?
Expand Down

0 comments on commit 11aff7f

Please sign in to comment.