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} :icon-opts {:color :black}
:handler #(re-frame/dispatch [:bottom-sheet/show-sheet :handler #(re-frame/dispatch [:bottom-sheet/show-sheet
{:content sheets/account-settings {:content sheets/account-settings
:content-height 130}])}]]]]) :content-height 60}])}]]]])
(defn button [label icon handler] (defn button [label icon handler]
[react/touchable-highlight {:on-press handler :style {:flex 1}} [react/touchable-highlight {:on-press handler :style {:flex 1}}
@ -113,4 +113,4 @@
[react/scroll-view {:horizontal true} [react/scroll-view {:horizontal true}
[react/view {:flex-direction :row :padding-top 8 :padding-bottom 12} [react/view {:flex-direction :row :padding-top 8 :padding-bottom 12}
[account-card account]]]] [account-card account]]]]
[assets-and-collections address]]])) [assets-and-collections address]]]))

View File

@ -70,8 +70,9 @@
:title :t/account-settings :title :t/account-settings
:icon :main-icons/info :icon :main-icons/info
:disabled? true}] :disabled? true}]
[list-item/list-item ;; Commented out for v1
{:theme :action #_[list-item/list-item
:title :t/export-account {:theme :action
:icon :main-icons/copy :title :t/export-account
:disabled? true}]]) :icon :main-icons/copy
:disabled? true}]])