Re-hide connected dapps screen behind a feature flag (#20627)
* Connected dapps screen is not hidden behind a feature flag * Style fix
This commit is contained in:
parent
e83f6ff445
commit
99506c810d
|
@ -4,6 +4,7 @@
|
||||||
[status-im.contexts.wallet.sheets.account-options.view :as account-options]
|
[status-im.contexts.wallet.sheets.account-options.view :as account-options]
|
||||||
[status-im.contexts.wallet.sheets.network-filter.view :as network-filter]
|
[status-im.contexts.wallet.sheets.network-filter.view :as network-filter]
|
||||||
[status-im.contexts.wallet.sheets.select-account.view :as select-account]
|
[status-im.contexts.wallet.sheets.select-account.view :as select-account]
|
||||||
|
[status-im.feature-flags :as ff]
|
||||||
[utils.re-frame :as rf]))
|
[utils.re-frame :as rf]))
|
||||||
|
|
||||||
(defn get-bottom-sheet-args
|
(defn get-bottom-sheet-args
|
||||||
|
@ -36,7 +37,7 @@
|
||||||
:networks networks
|
:networks networks
|
||||||
:align-center? true
|
:align-center? true
|
||||||
:networks-on-press #(rf/dispatch [:show-bottom-sheet {:content network-filter/view}])
|
:networks-on-press #(rf/dispatch [:show-bottom-sheet {:content network-filter/view}])
|
||||||
:right-side [(when (and true
|
:right-side [(when (and (ff/enabled? ::wallet.wallet-connect)
|
||||||
(not watch-only?))
|
(not watch-only?))
|
||||||
{:icon-name :i/dapps
|
{:icon-name :i/dapps
|
||||||
:on-press #(rf/dispatch [:navigate-to :screen/wallet.connected-dapps])})
|
:on-press #(rf/dispatch [:navigate-to :screen/wallet.connected-dapps])})
|
||||||
|
|
Loading…
Reference in New Issue