Переглянути джерело

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

master
Saúl Ibarra Corretgé 7 роки тому
джерело
коміт
1d7e0845aa
1 змінених файлів з 1 додано та 11 видалено
  1. 1
    11
      react/features/toolbox/components/Toolbox.native.js

+ 1
- 11
react/features/toolbox/components/Toolbox.native.js Переглянути файл

@@ -36,16 +36,6 @@ import ToolbarButton from './ToolbarButton';
36 36
 
37 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 40
  * The type of {@link Toolbox}'s React {@code Component} props.
51 41
  */
@@ -273,7 +263,7 @@ class Toolbox extends Component<Props> {
273 263
                     style = { style }
274 264
                     underlayColor = { underlayColor } />
275 265
                 {
276
-                    _SHARE_ROOM_TOOLBAR_BUTTON && !showInviteButton
266
+                    !showInviteButton
277 267
                         && <ToolbarButton
278 268
                             iconName = 'link'
279 269
                             iconStyle = { iconStyle }

Завантаження…
Відмінити
Зберегти