From f8d447fa59e56ca3c6bdd7f3e03317cb27bb35ac Mon Sep 17 00:00:00 2001 From: Pedro Pombeiro Date: Wed, 25 Sep 2019 15:01:07 +0200 Subject: [PATCH] Hide Account Export menu item in wallet for v1. Closes #9040 Signed-off-by: yenda --- src/status_im/ui/screens/wallet/account/views.cljs | 4 ++-- src/status_im/ui/screens/wallet/accounts/sheets.cljs | 11 ++++++----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/status_im/ui/screens/wallet/account/views.cljs b/src/status_im/ui/screens/wallet/account/views.cljs index 5628e989a6..cccadaa982 100644 --- a/src/status_im/ui/screens/wallet/account/views.cljs +++ b/src/status_im/ui/screens/wallet/account/views.cljs @@ -29,7 +29,7 @@ :icon-opts {:color :black} :handler #(re-frame/dispatch [:bottom-sheet/show-sheet {:content sheets/account-settings - :content-height 130}])}]]]]) + :content-height 60}])}]]]]) (defn button [label icon handler] [react/touchable-highlight {:on-press handler :style {:flex 1}} @@ -113,4 +113,4 @@ [react/scroll-view {:horizontal true} [react/view {:flex-direction :row :padding-top 8 :padding-bottom 12} [account-card account]]]] - [assets-and-collections address]]])) \ No newline at end of file + [assets-and-collections address]]])) diff --git a/src/status_im/ui/screens/wallet/accounts/sheets.cljs b/src/status_im/ui/screens/wallet/accounts/sheets.cljs index 104f4e359e..1ea76d2f8e 100644 --- a/src/status_im/ui/screens/wallet/accounts/sheets.cljs +++ b/src/status_im/ui/screens/wallet/accounts/sheets.cljs @@ -70,8 +70,9 @@ :title :t/account-settings :icon :main-icons/info :disabled? true}] - [list-item/list-item - {:theme :action - :title :t/export-account - :icon :main-icons/copy - :disabled? true}]]) \ No newline at end of file + ;; Commented out for v1 + #_[list-item/list-item + {:theme :action + :title :t/export-account + :icon :main-icons/copy + :disabled? true}]])