Bläddra i källkod

fix(lobby/native) removed nav button overwrite

master
Calin Chitu 3 år sedan
förälder
incheckning
bedddd4760
1 ändrade filer med 0 tillägg och 21 borttagningar
  1. 0
    21
      react/features/lobby/components/native/LobbyScreen.js

+ 0
- 21
react/features/lobby/components/native/LobbyScreen.js Visa fil

@@ -10,8 +10,6 @@ import { connect } from '../../../base/redux';
10 10
 import { ASPECT_RATIO_NARROW } from '../../../base/responsive-ui';
11 11
 import BaseTheme from '../../../base/ui/components/BaseTheme';
12 12
 import { LargeVideo } from '../../../large-video/components';
13
-import HeaderNavigationButton
14
-    from '../../../mobile/navigation/components/HeaderNavigationButton';
15 13
 import { navigate }
16 14
     from '../../../mobile/navigation/components/lobby/LobbyNavigationContainerRef';
17 15
 import { screen } from '../../../mobile/navigation/routes';
@@ -36,25 +34,6 @@ type Props = AbstractProps & {
36 34
  * Implements a waiting screen that represents the participant being in the lobby.
37 35
  */
38 36
 class LobbyScreen extends AbstractLobbyScreen<Props> {
39
-    /**
40
-     * Implements React's {@link Component#componentDidMount()}. Invoked
41
-     * immediately after this component is mounted.
42
-     *
43
-     * @inheritdoc
44
-     * @returns {void}
45
-     */
46
-    componentDidMount() {
47
-        const { navigation, t } = this.props;
48
-
49
-        navigation.setOptions({
50
-            headerLeft: () => (
51
-                <HeaderNavigationButton
52
-                    label = { t('dialog.Cancel') }
53
-                    onPress = { this._onCancel } />
54
-            )
55
-        });
56
-    }
57
-
58 37
     /**
59 38
      * Implements {@code PureComponent#render}.
60 39
      *

Laddar…
Avbryt
Spara