mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-14 18:54:52 +00:00
chore(settings): Disable telemetry option (#20881)
This commit is contained in:
parent
d27ab756d0
commit
90653955a6
@ -5,6 +5,7 @@
|
|||||||
[legacy.status-im.ui.components.list.views :as list]
|
[legacy.status-im.ui.components.list.views :as list]
|
||||||
[quo.core :as quo]
|
[quo.core :as quo]
|
||||||
[re-frame.core :as re-frame]
|
[re-frame.core :as re-frame]
|
||||||
|
[status-im.feature-flags :as ff]
|
||||||
[utils.i18n :as i18n]
|
[utils.i18n :as i18n]
|
||||||
[utils.re-frame :as rf])
|
[utils.re-frame :as rf])
|
||||||
(:require-macros [legacy.status-im.utils.views :as views]))
|
(:require-macros [legacy.status-im.utils.views :as views]))
|
||||||
@ -59,14 +60,14 @@
|
|||||||
:on-press
|
:on-press
|
||||||
#(re-frame/dispatch [:open-modal :peers-stats])
|
#(re-frame/dispatch [:open-modal :peers-stats])
|
||||||
:chevron true}
|
:chevron true}
|
||||||
|
(when (ff/enabled? ::ff/settings.telemetry)
|
||||||
{:size :small
|
{:size :small
|
||||||
:title "Telemetry"
|
:title "Telemetry"
|
||||||
:accessibility-label :telemetry-enabled
|
:accessibility-label :telemetry-enabled
|
||||||
:container-margin-bottom 8
|
:container-margin-bottom 8
|
||||||
:on-press
|
:on-press #(re-frame/dispatch [:profile.settings/toggle-telemetry])
|
||||||
#(re-frame/dispatch [:profile.settings/toggle-telemetry])
|
|
||||||
:accessory :switch
|
:accessory :switch
|
||||||
:active telemetry-enabled?}
|
:active telemetry-enabled?})
|
||||||
{:size :small
|
{:size :small
|
||||||
:title (i18n/label :t/light-client-enabled)
|
:title (i18n/label :t/light-client-enabled)
|
||||||
:accessibility-label :light-client-enabled
|
:accessibility-label :light-client-enabled
|
||||||
|
@ -17,9 +17,11 @@
|
|||||||
;; works and we may re-enable it by default.
|
;; works and we may re-enable it by default.
|
||||||
::profile-pictures-visibility (enabled-in-env? :FLAG_PROFILE_PICTURES_VISIBILITY_ENABLED)
|
::profile-pictures-visibility (enabled-in-env? :FLAG_PROFILE_PICTURES_VISIBILITY_ENABLED)
|
||||||
|
|
||||||
|
::settings.telemetry (enabled-in-env? :FLAG_TELEMETRY_ENABLED)
|
||||||
::settings.import-all-keypairs (enabled-in-env?
|
::settings.import-all-keypairs (enabled-in-env?
|
||||||
:FLAG_WALLET_SETTINGS_IMPORT_ALL_KEYPAIRS)
|
:FLAG_WALLET_SETTINGS_IMPORT_ALL_KEYPAIRS)
|
||||||
::shell.jump-to (enabled-in-env? :ENABLE_JUMP_TO)
|
::shell.jump-to (enabled-in-env? :ENABLE_JUMP_TO)
|
||||||
|
|
||||||
::wallet.advanced-sending (enabled-in-env? :FLAG_ADVANCED_SENDING)
|
::wallet.advanced-sending (enabled-in-env? :FLAG_ADVANCED_SENDING)
|
||||||
::wallet.assets-modal-hide (enabled-in-env? :FLAG_ASSETS_MODAL_HIDE)
|
::wallet.assets-modal-hide (enabled-in-env? :FLAG_ASSETS_MODAL_HIDE)
|
||||||
::wallet.assets-modal-manage-tokens (enabled-in-env? :FLAG_ASSETS_MODAL_MANAGE_TOKENS)
|
::wallet.assets-modal-manage-tokens (enabled-in-env? :FLAG_ASSETS_MODAL_MANAGE_TOKENS)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user