Selaa lähdekoodia

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

master
Vlad Piersec 3 vuotta sitten
vanhempi
commit
7f95bc23fe
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      react/features/chat/components/native/Chat.js

+ 1
- 1
react/features/chat/components/native/Chat.js Näytä tiedosto

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

Loading…
Peruuta
Tallenna