Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Hide chat button on mobile when chat is disabled (#3616)

Aziz Rmadi4ef23c9afc2a
diff --git a/web/components/ui/Content/Content.tsx b/web/components/ui/Content/Content.tsx
index 95d70dd18a..6a9a30716e 100644
--- a/web/components/ui/Content/Content.tsx
+++ b/web/components/ui/Content/Content.tsx
@@ -354,7 +354,7 @@ export const Content: FC = () => {
handleClose={() => setShowChatModal(false)}
/>
)}
- {isMobile && isChatAvailable && (
+ {isMobile && isChatAvailable && !chatDisabled && (
<Button
id="mobile-chat-button"
type="primary"