Pārlūkot izejas kodu

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

master
Vlad Piersec 3 gadus atpakaļ
vecāks
revīzija
7f95bc23fe
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      react/features/chat/components/native/Chat.js

+ 1
- 1
react/features/chat/components/native/Chat.js Parādīt failu

@@ -45,7 +45,7 @@ class Chat extends AbstractChat<Props> {
45 45
         return (
46 46
             <JitsiModal
47 47
                 headerProps = {{
48
-                    headerLabelKey: 'chat.title'
48
+                    headerLabelKey: this.props._isPollsEnabled ? 'chat.titleWithPolls' : 'chat.title'
49 49
                 }}
50 50
                 modalId = { CHAT_VIEW_MODAL_ID }
51 51
                 onClose = { this._onClose }>

Notiek ielāde…
Atcelt
Saglabāt