Remove not implemented Notification settings from community longtap m… (#20169)
This commit is contained in:
parent
178d62bd27
commit
e30ca97372
|
@ -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/view-community-rules))
|
||||||
(h/is-truthy (h/get-by-translation-text :t/mark-as-read))
|
(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/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/invite-people-from-contacts))
|
||||||
(h/is-truthy (h/get-by-translation-text :t/show-qr))
|
(h/is-truthy (h/get-by-translation-text :t/show-qr))
|
||||||
(h/is-truthy (h/get-by-translation-text :t/share-community))
|
(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/view-token-gating))
|
||||||
(h/is-truthy (h/get-by-translation-text :t/mark-as-read))
|
(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/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/invite-people-from-contacts))
|
||||||
(h/is-truthy (h/get-by-translation-text :t/show-qr))
|
(h/is-truthy (h/get-by-translation-text :t/show-qr))
|
||||||
(h/is-truthy (h/get-by-translation-text :t/share-community))
|
(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/view-community-rules))
|
||||||
(h/is-truthy (h/get-by-translation-text :t/mark-as-read))
|
(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/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/invite-people-from-contacts))
|
||||||
(h/is-truthy (h/get-by-translation-text :t/show-qr))
|
(h/is-truthy (h/get-by-translation-text :t/show-qr))
|
||||||
(h/is-truthy (h/get-by-translation-text :t/share-community)))
|
(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/view-community-rules))
|
||||||
(h/is-truthy (h/get-by-translation-text :t/mark-as-read))
|
(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/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/invite-people-from-contacts))
|
||||||
(h/is-truthy (h/get-by-translation-text :t/show-qr))
|
(h/is-truthy (h/get-by-translation-text :t/show-qr))
|
||||||
(h/is-truthy (h/get-by-translation-text :t/share-community)))
|
(h/is-truthy (h/get-by-translation-text :t/share-community)))
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
[quo.core :as quo]
|
[quo.core :as quo]
|
||||||
[status-im.common.mute-drawer.view :as mute-options]
|
[status-im.common.mute-drawer.view :as mute-options]
|
||||||
[status-im.common.muting.helpers :refer [format-mute-till]]
|
[status-im.common.muting.helpers :refer [format-mute-till]]
|
||||||
|
[status-im.config :as config]
|
||||||
[status-im.constants :as constants]
|
[status-im.constants :as constants]
|
||||||
[status-im.contexts.communities.actions.leave.view :as leave-menu]
|
[status-im.contexts.communities.actions.leave.view :as leave-menu]
|
||||||
[status-im.contexts.communities.actions.permissions-sheet.view :as permissions-sheet]
|
[status-im.contexts.communities.actions.permissions-sheet.view :as permissions-sheet]
|
||||||
|
@ -83,11 +84,12 @@
|
||||||
|
|
||||||
(defn community-notification-settings
|
(defn community-notification-settings
|
||||||
[id]
|
[id]
|
||||||
|
(when config/show-not-implemented-features?
|
||||||
{:icon :i/notifications
|
{:icon :i/notifications
|
||||||
:accessibility-label :community-notification-settings
|
:accessibility-label :community-notification-settings
|
||||||
:label (i18n/label :t/notification-settings)
|
:label (i18n/label :t/notification-settings)
|
||||||
:on-press #(js/alert (str "implement action" id))
|
:on-press #(js/alert (str "implement action" id))
|
||||||
:right-icon :i/chevron-right})
|
:right-icon :i/chevron-right}))
|
||||||
|
|
||||||
(defn invite-contacts
|
(defn invite-contacts
|
||||||
[id]
|
[id]
|
||||||
|
|
Loading…
Reference in New Issue