fix(rn, polls): Display 'Chat and Polls' as heading when polls enabled
This commit is contained in:
parent
927505ebf8
commit
7f95bc23fe
|
@ -45,7 +45,7 @@ class Chat extends AbstractChat<Props> {
|
||||||
return (
|
return (
|
||||||
<JitsiModal
|
<JitsiModal
|
||||||
headerProps = {{
|
headerProps = {{
|
||||||
headerLabelKey: 'chat.title'
|
headerLabelKey: this.props._isPollsEnabled ? 'chat.titleWithPolls' : 'chat.title'
|
||||||
}}
|
}}
|
||||||
modalId = { CHAT_VIEW_MODAL_ID }
|
modalId = { CHAT_VIEW_MODAL_ID }
|
||||||
onClose = { this._onClose }>
|
onClose = { this._onClose }>
|
||||||
|
|
Loading…
Reference in New Issue