diff --git a/src/status_im/contexts/communities/actions/community_options/component_spec.cljs b/src/status_im/contexts/communities/actions/community_options/component_spec.cljs index 3679771d09..86a3f174ea 100644 --- a/src/status_im/contexts/communities/actions/community_options/component_spec.cljs +++ b/src/status_im/contexts/communities/actions/community_options/component_spec.cljs @@ -14,7 +14,7 @@ (h/is-truthy (h/get-by-translation-text :t/view-community-rules)) (h/is-truthy (h/get-by-translation-text :t/mark-as-read)) (h/is-truthy (h/get-by-translation-text :t/mute-community)) - (h/is-truthy (h/get-by-translation-text :t/notification-settings)) + ;(h/is-truthy (h/get-by-translation-text :t/notification-settings)) (h/is-truthy (h/get-by-translation-text :t/invite-people-from-contacts)) (h/is-truthy (h/get-by-translation-text :t/show-qr)) (h/is-truthy (h/get-by-translation-text :t/share-community)) @@ -30,7 +30,7 @@ (h/is-truthy (h/get-by-translation-text :t/view-token-gating)) (h/is-truthy (h/get-by-translation-text :t/mark-as-read)) (h/is-truthy (h/get-by-translation-text :t/mute-community)) - (h/is-truthy (h/get-by-translation-text :t/notification-settings)) + ;(h/is-truthy (h/get-by-translation-text :t/notification-settings)) (h/is-truthy (h/get-by-translation-text :t/invite-people-from-contacts)) (h/is-truthy (h/get-by-translation-text :t/show-qr)) (h/is-truthy (h/get-by-translation-text :t/share-community)) @@ -44,7 +44,7 @@ (h/is-truthy (h/get-by-translation-text :t/view-community-rules)) (h/is-truthy (h/get-by-translation-text :t/mark-as-read)) (h/is-truthy (h/get-by-translation-text :t/mute-community)) - (h/is-truthy (h/get-by-translation-text :t/notification-settings)) + ;(h/is-truthy (h/get-by-translation-text :t/notification-settings)) (h/is-truthy (h/get-by-translation-text :t/invite-people-from-contacts)) (h/is-truthy (h/get-by-translation-text :t/show-qr)) (h/is-truthy (h/get-by-translation-text :t/share-community))) @@ -58,7 +58,7 @@ (h/is-truthy (h/get-by-translation-text :t/view-community-rules)) (h/is-truthy (h/get-by-translation-text :t/mark-as-read)) (h/is-truthy (h/get-by-translation-text :t/mute-community)) - (h/is-truthy (h/get-by-translation-text :t/notification-settings)) + ;(h/is-truthy (h/get-by-translation-text :t/notification-settings)) (h/is-truthy (h/get-by-translation-text :t/invite-people-from-contacts)) (h/is-truthy (h/get-by-translation-text :t/show-qr)) (h/is-truthy (h/get-by-translation-text :t/share-community))) diff --git a/src/status_im/contexts/communities/actions/community_options/view.cljs b/src/status_im/contexts/communities/actions/community_options/view.cljs index bf03e188ff..43f0fc2743 100644 --- a/src/status_im/contexts/communities/actions/community_options/view.cljs +++ b/src/status_im/contexts/communities/actions/community_options/view.cljs @@ -3,6 +3,7 @@ [quo.core :as quo] [status-im.common.mute-drawer.view :as mute-options] [status-im.common.muting.helpers :refer [format-mute-till]] + [status-im.config :as config] [status-im.constants :as constants] [status-im.contexts.communities.actions.leave.view :as leave-menu] [status-im.contexts.communities.actions.permissions-sheet.view :as permissions-sheet] @@ -83,11 +84,12 @@ (defn community-notification-settings [id] - {:icon :i/notifications - :accessibility-label :community-notification-settings - :label (i18n/label :t/notification-settings) - :on-press #(js/alert (str "implement action" id)) - :right-icon :i/chevron-right}) + (when config/show-not-implemented-features? + {:icon :i/notifications + :accessibility-label :community-notification-settings + :label (i18n/label :t/notification-settings) + :on-press #(js/alert (str "implement action" id)) + :right-icon :i/chevron-right})) (defn invite-contacts [id]