Hide Account Export menu item in wallet for v1. Closes #9040

Signed-off-by: yenda <eric@status.im>
This commit is contained in:
Pedro Pombeiro 2019-09-25 15:01:07 +02:00 committed by yenda
parent acd7e56d1d
commit f8d447fa59
No known key found for this signature in database
GPG Key ID: 0095623C0069DCE6
2 changed files with 8 additions and 7 deletions

View File

@ -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]]]))
[assets-and-collections address]]]))

View File

@ -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}]])
;; Commented out for v1
#_[list-item/list-item
{:theme :action
:title :t/export-account
:icon :main-icons/copy
:disabled? true}]])