From f17229c4e2a8a570b9aaa81a90c469b09ceb5afa Mon Sep 17 00:00:00 2001 From: yenda Date: Fri, 18 Jan 2019 14:59:10 +0100 Subject: [PATCH] [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 --- src/status_im/ui/screens/profile/user/views.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/ui/screens/profile/user/views.cljs b/src/status_im/ui/screens/profile/user/views.cljs index ff8a568b60..8504949a24 100644 --- a/src/status_im/ui/screens/profile/user/views.cljs +++ b/src/status_im/ui/screens/profile/user/views.cljs @@ -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