#17945 Scanned address persists in ETH address textbox after reopening 'Add address to watch' screen (#17957)

This commit is contained in:
Alexander 2023-12-13 10:03:42 +01:00 committed by GitHub
parent 424a7b17b0
commit cb3a19f98f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -126,9 +126,11 @@
[quo/button [quo/button
{:customization-color customization-color {:customization-color customization-color
:disabled? (or (string/blank? @input-value) (some? (validate @input-value))) :disabled? (or (string/blank? @input-value) (some? (validate @input-value)))
:on-press #(rf/dispatch [:navigate-to :on-press (fn []
:confirm-address-to-watch (rf/dispatch [:navigate-to
{:address @input-value}]) :confirm-address-to-watch
{:address @input-value}])
(clear-input))
:container-style {:z-index 2}} :container-style {:z-index 2}}
(i18n/label :t/continue)]} (i18n/label :t/continue)]}
[quo/text-combinations [quo/text-combinations