[fix] remove mnemonic from current-account map
current-account is duplicated in `:qr-modal` key when tapping on `share my profile` button in the Profile screen this removes the mnemonic from the duplicated data so that it does persist there after user backed up his mnemonic this was only happening until logging out/restarting the app Signed-off-by: yenda <eric@status.im>
This commit is contained in:
parent
e87464e5ba
commit
f17229c4e2
|
@ -267,7 +267,7 @@
|
|||
[react/view (merge action-button.styles/actions-list
|
||||
styles/share-contact-code-container)
|
||||
[button/secondary-button {:on-press #(re-frame/dispatch [:navigate-to :profile-qr-viewer
|
||||
{:contact current-account
|
||||
{:contact (dissoc current-account :mnemonic)
|
||||
:source :public-key
|
||||
:value public-key}])
|
||||
:style styles/share-contact-code-button
|
||||
|
|
Loading…
Reference in New Issue