Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(lobby/native) removed nav button overwrite

Calin Chitubedddd476043
diff --git a/react/features/lobby/components/native/LobbyScreen.js b/react/features/lobby/components/native/LobbyScreen.js
index 15794afd44..f9f7d880dc 100644
--- a/react/features/lobby/components/native/LobbyScreen.js
+++ b/react/features/lobby/components/native/LobbyScreen.js
@@ -10,8 +10,6 @@ import { connect } from '../../../base/redux';
import { ASPECT_RATIO_NARROW } from '../../../base/responsive-ui';
import BaseTheme from '../../../base/ui/components/BaseTheme';
import { LargeVideo } from '../../../large-video/components';
-import HeaderNavigationButton
- from '../../../mobile/navigation/components/HeaderNavigationButton';
import { navigate }
from '../../../mobile/navigation/components/lobby/LobbyNavigationContainerRef';
import { screen } from '../../../mobile/navigation/routes';
@@ -36,25 +34,6 @@ type Props = AbstractProps & {
* Implements a waiting screen that represents the participant being in the lobby.
*/
class LobbyScreen extends AbstractLobbyScreen<Props> {
- /**
- * Implements React's {@link Component#componentDidMount()}. Invoked
- * immediately after this component is mounted.
- *
- * @inheritdoc
- * @returns {void}
- */
- componentDidMount() {
- const { navigation, t } = this.props;
-
- navigation.setOptions({
- headerLeft: () => (
- <HeaderNavigationButton
- label = { t('dialog.Cancel') }
- onPress = { this._onCancel } />
- )
- });
- }
-
/**
* Implements {@code PureComponent#render}.
*