diff --git a/app/components/contact-modal/contact-modal.tsx b/app/components/contact-modal/contact-modal.tsx index 0f5c5c3dcc..b5e0cf699e 100644 --- a/app/components/contact-modal/contact-modal.tsx +++ b/app/components/contact-modal/contact-modal.tsx @@ -3,6 +3,7 @@ import { Linking } from "react-native" import ReactNativeModal from "react-native-modal" import { CONTACT_EMAIL_ADDRESS, WHATSAPP_CONTACT_NUMBER } from "@app/config" +import { useBetaQuery } from "@app/graphql/generated" import { useI18nContext } from "@app/i18n/i18n-react" import { RootStackParamList } from "@app/navigation/stack-param-lists" import { openWhatsApp } from "@app/utils/external" @@ -50,6 +51,8 @@ const ContactModal: React.FC = ({ const navigation = useNavigation>() + const betaActivated = useBetaQuery().data?.beta ?? false + const contactOptionList = [ { id: SupportChannels.Chatbot, @@ -130,6 +133,7 @@ const ContactModal: React.FC = ({ > {contactOptionList .filter((item) => supportChannels.includes(item.id)) + .filter((item) => (item.id === SupportChannels.Chatbot ? betaActivated : true)) .map((item) => { return ( diff --git a/app/screens/error-screen/error-screen.tsx b/app/screens/error-screen/error-screen.tsx index 4d9ccfcef9..78291cf140 100644 --- a/app/screens/error-screen/error-screen.tsx +++ b/app/screens/error-screen/error-screen.tsx @@ -85,6 +85,7 @@ export const ErrorScreen = ({ supportChannels={[ SupportChannels.Faq, SupportChannels.StatusPage, + SupportChannels.Chatbot, SupportChannels.Email, SupportChannels.Telegram, SupportChannels.Mattermost, diff --git a/app/screens/settings-screen/settings/community-need-help.tsx b/app/screens/settings-screen/settings/community-need-help.tsx index f646102b68..ad8c277713 100644 --- a/app/screens/settings-screen/settings/community-need-help.tsx +++ b/app/screens/settings-screen/settings/community-need-help.tsx @@ -45,6 +45,7 @@ export const NeedHelpSetting: React.FC = () => { supportChannels={[ SupportChannels.Faq, SupportChannels.StatusPage, + SupportChannels.Chatbot, SupportChannels.Email, ]} />