|
@@ -194,14 +194,17 @@ class Toolbox extends Component {
|
194
|
194
|
const iconStyle = styles.secondaryToolbarButtonIcon;
|
195
|
195
|
const style = styles.secondaryToolbarButton;
|
196
|
196
|
const underlayColor = 'transparent';
|
197
|
|
- const { _audioOnly: audioOnly } = this.props;
|
|
197
|
+ const {
|
|
198
|
+ _audioOnly: audioOnly,
|
|
199
|
+ _videoMuted: videoMuted
|
|
200
|
+ } = this.props;
|
198
|
201
|
|
199
|
202
|
/* eslint-disable react/jsx-curly-spacing,react/jsx-handler-names */
|
200
|
203
|
|
201
|
204
|
return (
|
202
|
205
|
<View style = { styles.secondaryToolbar }>
|
203
|
206
|
<ToolbarButton
|
204
|
|
- disabled = { audioOnly }
|
|
207
|
+ disabled = { audioOnly || videoMuted }
|
205
|
208
|
iconName = 'switch-camera'
|
206
|
209
|
iconStyle = { iconStyle }
|
207
|
210
|
onClick = { this.props._onToggleCameraFacingMode }
|