Browse Source

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

master
Saúl Ibarra Corretgé 7 years ago
parent
commit
1d7e0845aa
1 changed files with 1 additions and 11 deletions
  1. 1
    11
      react/features/toolbox/components/Toolbox.native.js

+ 1
- 11
react/features/toolbox/components/Toolbox.native.js View File

36
 
36
 
37
 import { AudioMuteButton, HangupButton, VideoMuteButton } from './buttons';
37
 import { AudioMuteButton, HangupButton, VideoMuteButton } from './buttons';
38
 
38
 
39
-/**
40
- * The indicator which determines (at bundle time) whether there should be a
41
- * {@code ToolbarButton} in {@code Toolbox} to expose the functionality of the
42
- * feature share-room in the user interface of the app.
43
- *
44
- * @private
45
- * @type {boolean}
46
- */
47
-const _SHARE_ROOM_TOOLBAR_BUTTON = false;
48
-
49
 /**
39
 /**
50
  * The type of {@link Toolbox}'s React {@code Component} props.
40
  * The type of {@link Toolbox}'s React {@code Component} props.
51
  */
41
  */
273
                     style = { style }
263
                     style = { style }
274
                     underlayColor = { underlayColor } />
264
                     underlayColor = { underlayColor } />
275
                 {
265
                 {
276
-                    _SHARE_ROOM_TOOLBAR_BUTTON && !showInviteButton
266
+                    !showInviteButton
277
                         && <ToolbarButton
267
                         && <ToolbarButton
278
                             iconName = 'link'
268
                             iconName = 'link'
279
                             iconStyle = { iconStyle }
269
                             iconStyle = { iconStyle }

Loading…
Cancel
Save