Reverted some code after cleanup (#21892)

This commit is contained in:
Volodymyr Kozieiev 2025-01-08 11:32:44 +00:00 committed by GitHub
parent fad5119ceb
commit b88bbda3c5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 0 deletions

View File

@ -7,6 +7,7 @@
legacy.status-im.chat.models.loading
legacy.status-im.data-store.chats
legacy.status-im.data-store.visibility-status-updates
legacy.status-im.ens.core
legacy.status-im.fleet.core
legacy.status-im.group-chats.core
legacy.status-im.log-level.core

View File

@ -100,12 +100,24 @@
(fn [{:keys [public-key]}]
public-key))
(re-frame/reg-sub
:profile/light-client-enabled?
:<- [:profile/profile]
(fn [profile]
(get-in profile [:wakuv2-config :LightClient])))
(re-frame/reg-sub
:profile/store-confirmations-enabled?
:<- [:profile/profile]
(fn [profile]
(get-in profile [:wakuv2-config :EnableStoreConfirmationForMessagesSent])))
(re-frame/reg-sub
:profile/peer-syncing-enabled?
:<- [:profile/profile]
(fn [profile]
(:peer-syncing-enabled? profile)))
(re-frame/reg-sub
:profile/telemetry-enabled?
:<- [:profile/profile]