Skip to content

Commit

Permalink
Hide Account Export menu item in wallet for v1. Closes #9040
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Pombeiro committed Sep 25, 2019
1 parent 0a5acfb commit a777279
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/status_im/ui/screens/wallet/account/views.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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 65}])}]]]])

(defn button [label icon handler]
[react/touchable-highlight {:on-press handler :style {:flex 1}}
Expand Down Expand Up @@ -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]]]))
[assets-and-collections address]]]))
12 changes: 7 additions & 5 deletions src/status_im/ui/screens/wallet/accounts/sheets.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@
: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}]])
;; Commented out for v1
;;[list-item/list-item
;; {:theme :action
;; :title :t/export-account
;; :icon :main-icons/copy
;; :disabled? true}]
])

0 comments on commit a777279

Please sign in to comment.