|
@@ -230,6 +230,11 @@ type Props = {
|
230
|
230
|
*/
|
231
|
231
|
dispatch: Function,
|
232
|
232
|
|
|
233
|
+ /**
|
|
234
|
+ * If the dominant speaker name should be displayed or not.
|
|
235
|
+ */
|
|
236
|
+ showDominantSpeakerName?: boolean,
|
|
237
|
+
|
233
|
238
|
/**
|
234
|
239
|
* Invoked to obtain translated strings.
|
235
|
240
|
*/
|
|
@@ -239,6 +244,7 @@ type Props = {
|
239
|
244
|
* Explicitly passed array with the buttons which this Toolbox should display.
|
240
|
245
|
*/
|
241
|
246
|
toolbarButtons: Array<string>,
|
|
247
|
+
|
242
|
248
|
};
|
243
|
249
|
|
244
|
250
|
declare var APP: Object;
|
|
@@ -1222,6 +1228,7 @@ class Toolbox extends Component<Props, State> {
|
1222
|
1228
|
_isMobile,
|
1223
|
1229
|
_overflowMenuVisible,
|
1224
|
1230
|
_toolbarButtons,
|
|
1231
|
+ showDominantSpeakerName,
|
1225
|
1232
|
t,
|
1226
|
1233
|
_reactionsEnabled
|
1227
|
1234
|
} = this.props;
|
|
@@ -1240,7 +1247,9 @@ class Toolbox extends Component<Props, State> {
|
1240
|
1247
|
onMouseOut: this._onMouseOut,
|
1241
|
1248
|
onMouseOver: this._onMouseOver
|
1242
|
1249
|
}) }>
|
1243
|
|
- <DominantSpeakerName />
|
|
1250
|
+
|
|
1251
|
+ { showDominantSpeakerName && <DominantSpeakerName /> }
|
|
1252
|
+
|
1244
|
1253
|
<div className = 'toolbox-content-items'>
|
1245
|
1254
|
{mainMenuButtons.map(({ Content, key, ...rest }) => Content !== Separator && (
|
1246
|
1255
|
<Content
|