Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(rn, polls): Display 'Chat and Polls' as heading when polls enabled

Vlad Piersec7f95bc23fee8
diff --git a/react/features/chat/components/native/Chat.js b/react/features/chat/components/native/Chat.js
index da0e3a2a1a..fb9e2cf152 100644
--- a/react/features/chat/components/native/Chat.js
+++ b/react/features/chat/components/native/Chat.js
@@ -45,7 +45,7 @@ class Chat extends AbstractChat<Props> {
return (
<JitsiModal
headerProps = {{
- headerLabelKey: 'chat.title'
+ headerLabelKey: this.props._isPollsEnabled ? 'chat.titleWithPolls' : 'chat.title'
}}
modalId = { CHAT_VIEW_MODAL_ID }
onClose = { this._onClose }>