#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 []
(rf/dispatch [:navigate-to
:confirm-address-to-watch :confirm-address-to-watch
{:address @input-value}]) {: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