Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
[RN] Allow share-room ToolbarButton to not be rendered
Lyubo Marinov9049f52402d9
diff --git a/react/features/toolbox/components/Toolbox.native.js b/react/features/toolbox/components/Toolbox.native.jsindex d9700faa42..13b1fd4e0f 100644--- a/react/features/toolbox/components/Toolbox.native.js+++ b/react/features/toolbox/components/Toolbox.native.js@@ -22,6 +22,16 @@ import {import styles from './styles';import ToolbarButton from './ToolbarButton';+/**+ * 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 = true;+/*** Implements the conference toolbox on React Native.*/@@ -273,12 +283,15 @@ class Toolbox extends Component {onClick = { this.props._onToggleAudioOnly }style = { style }underlayColor = { underlayColor } />- <ToolbarButton- iconName = 'link'- iconStyle = { iconStyle }- onClick = { this.props._onShareRoom }- style = { style }- underlayColor = { underlayColor } />+ {+ _SHARE_ROOM_TOOLBAR_BUTTON+ && <ToolbarButton+ iconName = 'link'+ iconStyle = { iconStyle }+ onClick = { this.props._onShareRoom }+ style = { style }+ underlayColor = { underlayColor } />+ }</View>);