Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

Saúl Ibarra Corretgé1d7e0845aa64
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<Props> {
style = { style }
underlayColor = { underlayColor } />
{
- _SHARE_ROOM_TOOLBAR_BUTTON && !showInviteButton
+ !showInviteButton
&& <ToolbarButton
iconName = 'link'
iconStyle = { iconStyle }