move networks under dev mode
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
This commit is contained in:
parent
3f3684cddf
commit
6dec4876a2
|
@ -139,11 +139,12 @@
|
|||
[icons/icon (if advanced? :icons/up :icons/down) {:color colors/blue}]]]]]
|
||||
(when advanced?
|
||||
[react/view
|
||||
(when dev-mode?
|
||||
[profile.components/settings-item
|
||||
{:label-kw :t/network
|
||||
:value (get-in networks [network :name])
|
||||
:action-fn #(re-frame/dispatch [:navigate-to :network-settings])
|
||||
:accessibility-label :network-button}]
|
||||
:accessibility-label :network-button}])
|
||||
(when config/offline-inbox-enabled?
|
||||
[profile.components/settings-item-separator])
|
||||
(when config/offline-inbox-enabled?
|
||||
|
@ -152,16 +153,16 @@
|
|||
:action-fn #(re-frame/dispatch [:navigate-to :offline-messaging-settings])
|
||||
:accessibility-label :offline-messages-settings-button}])
|
||||
[profile.components/settings-item-separator]
|
||||
[profile.components/settings-switch-item
|
||||
{:label-kw :t/dev-mode
|
||||
:value dev-mode?
|
||||
:action-fn #(re-frame/dispatch [:switch-dev-mode %])}]
|
||||
[profile.components/settings-item-separator]
|
||||
[profile.components/settings-item
|
||||
{:label-kw :t/help-improve?
|
||||
:value (i18n/label (if sharing-usage-data? :on :off))
|
||||
:action-fn #(re-frame/dispatch [:navigate-to :usage-data [:navigate-back]])
|
||||
:accessibility-label :help-improve}]])]))
|
||||
:accessibility-label :help-improve}]
|
||||
[profile.components/settings-item-separator]
|
||||
[profile.components/settings-switch-item
|
||||
{:label-kw :t/dev-mode
|
||||
:value dev-mode?
|
||||
:action-fn #(re-frame/dispatch [:switch-dev-mode %])}]])]))
|
||||
|
||||
(defview my-profile []
|
||||
(letsubs [{:keys [public-key] :as current-account} [:get-current-account]
|
||||
|
|
Loading…
Reference in New Issue