From 1d7e0845aa64ecd62910850bfe14ded88edffd2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Wed, 25 Apr 2018 18:11:26 +0200 Subject: [PATCH] [RN] use the share button if the invite button is not enabled --- react/features/toolbox/components/Toolbox.native.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/react/features/toolbox/components/Toolbox.native.js b/react/features/toolbox/components/Toolbox.native.js index 47926e84cf..d759d1010c 100644 --- a/react/features/toolbox/components/Toolbox.native.js +++ b/react/features/toolbox/components/Toolbox.native.js @@ -36,16 +36,6 @@ import ToolbarButton from './ToolbarButton'; 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. */ @@ -273,7 +263,7 @@ class Toolbox extends Component { style = { style } underlayColor = { underlayColor } /> { - _SHARE_ROOM_TOOLBAR_BUTTON && !showInviteButton + !showInviteButton &&