Escape address so newlines and spaces don't interfere
Signed-off-by: shivekkhurana <shivek@status.im>
This commit is contained in:
parent
30753f8766
commit
fbb606b859
|
@ -272,7 +272,7 @@
|
|||
:text-align-vertical :top
|
||||
:on-change-text #(do
|
||||
(re-frame/dispatch [:set-in [:wallet/recipient :searching] :searching])
|
||||
(debounce/debounce-and-dispatch [:wallet.recipient/address-changed %] 600))
|
||||
(debounce/debounce-and-dispatch [:wallet.recipient/address-changed (utils/safe-trim %)] 600))
|
||||
:accessibility-label :recipient-address-input}]]
|
||||
[react/view {:align-items :center :height 30 :padding-bottom 8}
|
||||
(if searching
|
||||
|
@ -305,4 +305,4 @@
|
|||
:after :main-icons/next
|
||||
:disabled disabled?
|
||||
:on-press #(re-frame/dispatch [:wallet.send/set-recipient resolved-address])}
|
||||
(i18n/label :t/done)]}]]])))
|
||||
(i18n/label :t/done)]}]]])))
|
||||
|
|
Loading…
Reference in New Issue