[RN] use the share button if the invite button is not enabled
This commit is contained in:
parent
f64c13d4b7
commit
1d7e0845aa
|
@ -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…
Reference in New Issue