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

This commit is contained in:
Vlad Piersec 2021-10-11 12:08:42 +03:00 committed by vp8x8
parent 927505ebf8
commit 7f95bc23fe
1 changed files with 1 additions and 1 deletions

View File

@ -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 }>