[RN] use the share button if the invite button is not enabled

pull/2880/head jitsi-meet_2987
Saúl Ibarra Corretgé 7 years ago committed by Saúl Ibarra Corretgé
parent f64c13d4b7
commit 1d7e0845aa
  1. 12
      react/features/toolbox/components/Toolbox.native.js

@ -36,16 +36,6 @@ import ToolbarButton from './ToolbarButton';
import { AudioMuteButton, HangupButton, VideoMuteButton } from './buttons'; import { AudioMuteButton, HangupButton, VideoMuteButton } from './buttons';
/**
* The indicator which determines (at bundle time) whether there should be a
* {@code ToolbarButton} in {@code Toolbox} to expose the functionality of the
* feature share-room in the user interface of the app.
*
* @private
* @type {boolean}
*/
const _SHARE_ROOM_TOOLBAR_BUTTON = false;
/** /**
* The type of {@link Toolbox}'s React {@code Component} props. * The type of {@link Toolbox}'s React {@code Component} props.
*/ */
@ -273,7 +263,7 @@ class Toolbox extends Component<Props> {
style = { style } style = { style }
underlayColor = { underlayColor } /> underlayColor = { underlayColor } />
{ {
_SHARE_ROOM_TOOLBAR_BUTTON && !showInviteButton !showInviteButton
&& <ToolbarButton && <ToolbarButton
iconName = 'link' iconName = 'link'
iconStyle = { iconStyle } iconStyle = { iconStyle }

Loading…
Cancel
Save