From ffc12ccc0ef42869524e9784d549952ea864190d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Wed, 19 Jul 2017 14:30:36 +0200 Subject: [PATCH] [RN] Disable camera switch button when video is muted --- react/features/toolbox/components/Toolbox.native.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/react/features/toolbox/components/Toolbox.native.js b/react/features/toolbox/components/Toolbox.native.js index aa3be19bc..929cf0bfe 100644 --- a/react/features/toolbox/components/Toolbox.native.js +++ b/react/features/toolbox/components/Toolbox.native.js @@ -194,14 +194,17 @@ class Toolbox extends Component { const iconStyle = styles.secondaryToolbarButtonIcon; const style = styles.secondaryToolbarButton; const underlayColor = 'transparent'; - const { _audioOnly: audioOnly } = this.props; + const { + _audioOnly: audioOnly, + _videoMuted: videoMuted + } = this.props; /* eslint-disable react/jsx-curly-spacing,react/jsx-handler-names */ return (