|
@@ -157,17 +157,11 @@ type Props = {
|
157
|
157
|
*/
|
158
|
158
|
_sharingVideo: boolean,
|
159
|
159
|
|
160
|
|
- /**
|
161
|
|
- * Whether or not transcribing is enabled.
|
162
|
|
- */
|
163
|
|
- _transcribingEnabled: boolean,
|
164
|
|
-
|
165
|
160
|
/**
|
166
|
161
|
* Flag showing whether toolbar is visible.
|
167
|
162
|
*/
|
168
|
163
|
_visible: boolean,
|
169
|
164
|
|
170
|
|
-
|
171
|
165
|
/**
|
172
|
166
|
* Set with the buttons which this Toolbox should display.
|
173
|
167
|
*/
|
|
@@ -323,7 +317,6 @@ class Toolbox extends Component<Props> {
|
323
|
317
|
_chatOpen,
|
324
|
318
|
_hideInviteButton,
|
325
|
319
|
_overflowMenuVisible,
|
326
|
|
- _transcribingEnabled,
|
327
|
320
|
_raisedHand,
|
328
|
321
|
_visible,
|
329
|
322
|
_visibleButtons,
|
|
@@ -367,9 +360,8 @@ class Toolbox extends Component<Props> {
|
367
|
360
|
<ChatCounter />
|
368
|
361
|
</div> }
|
369
|
362
|
{
|
370
|
|
- _transcribingEnabled
|
371
|
|
- && this._shouldShowButton('closedcaptions')
|
372
|
|
- && <ClosedCaptionButton />
|
|
363
|
+ this._shouldShowButton('closedcaptions')
|
|
364
|
+ && <ClosedCaptionButton />
|
373
|
365
|
}
|
374
|
366
|
</div>
|
375
|
367
|
<div className = 'button-group-center'>
|
|
@@ -1039,9 +1031,6 @@ function _mapStateToProps(state) {
|
1039
|
1031
|
callStatsID,
|
1040
|
1032
|
iAmRecorder
|
1041
|
1033
|
} = state['features/base/config'];
|
1042
|
|
- const {
|
1043
|
|
- transcribingEnabled
|
1044
|
|
- } = state['features/base/config'];
|
1045
|
1034
|
const sharedVideoStatus = state['features/shared-video'].status;
|
1046
|
1035
|
const { current } = state['features/side-panel'];
|
1047
|
1036
|
const {
|
|
@@ -1094,7 +1083,6 @@ function _mapStateToProps(state) {
|
1094
|
1083
|
_overflowMenuVisible: overflowMenuVisible,
|
1095
|
1084
|
_raisedHand: localParticipant.raisedHand,
|
1096
|
1085
|
_screensharing: localVideo && localVideo.videoType === 'desktop',
|
1097
|
|
- _transcribingEnabled: transcribingEnabled,
|
1098
|
1086
|
_sharingVideo: sharedVideoStatus === 'playing'
|
1099
|
1087
|
|| sharedVideoStatus === 'start'
|
1100
|
1088
|
|| sharedVideoStatus === 'pause',
|