This commit is contained in:
parent
bc9ec05de3
commit
791620ce33
|
@ -42,6 +42,7 @@
|
||||||
[touchable-highlight {:style st/back-btn-touchable
|
[touchable-highlight {:style st/back-btn-touchable
|
||||||
:on-press (fn []
|
:on-press (fn []
|
||||||
(dispatch [:set-in [:profile-edit :edit?] false])
|
(dispatch [:set-in [:profile-edit :edit?] false])
|
||||||
|
(dispatch [:set-in [:profile-edit :name] nil])
|
||||||
(dispatch [:navigate-back]))}
|
(dispatch [:navigate-back]))}
|
||||||
[view st/back-btn-container
|
[view st/back-btn-container
|
||||||
[icon :back st/back-btn-icon]]]
|
[icon :back st/back-btn-icon]]]
|
||||||
|
@ -191,7 +192,6 @@
|
||||||
qr [:get-in [:profile-edit :qr-code]]
|
qr [:get-in [:profile-edit :qr-code]]
|
||||||
current-account [:get-current-account]
|
current-account [:get-current-account]
|
||||||
changed-account [:get :profile-edit]]
|
changed-account [:get :profile-edit]]
|
||||||
{:component-will-unmount #(dispatch [:set-in [:profile-edit :name] nil])}
|
|
||||||
(let [{:keys [phone
|
(let [{:keys [phone
|
||||||
address
|
address
|
||||||
public-key]
|
public-key]
|
||||||
|
|
Loading…
Reference in New Issue