|
|
@@ -972,6 +972,7 @@ class Toolbox extends Component<Props> {
|
|
972
|
972
|
*/
|
|
973
|
973
|
_renderOverflowMenuContent(additionalButtons: Array<React$Element<any>>) {
|
|
974
|
974
|
const {
|
|
|
975
|
+ _desktopSharingEnabled,
|
|
975
|
976
|
_feedbackConfigured,
|
|
976
|
977
|
_fullScreen,
|
|
977
|
978
|
_isMobile,
|
|
|
@@ -1036,7 +1037,9 @@ class Toolbox extends Component<Props> {
|
|
1036
|
1037
|
&& <SharedVideoButton
|
|
1037
|
1038
|
key = 'sharedvideo'
|
|
1038
|
1039
|
showLabel = { true } />,
|
|
1039
|
|
- this._shouldShowButton('shareaudio') && isScreenAudioSupported()
|
|
|
1040
|
+ this._shouldShowButton('shareaudio')
|
|
|
1041
|
+ && _desktopSharingEnabled
|
|
|
1042
|
+ && isScreenAudioSupported()
|
|
1040
|
1043
|
&& <OverflowMenuItem
|
|
1041
|
1044
|
accessibilityLabel = { t('toolbar.accessibilityLabel.shareaudio') }
|
|
1042
|
1045
|
icon = { IconShareAudio }
|