fix(lobby/native) removed nav button overwrite

This commit is contained in:
Calin Chitu 2022-06-10 15:42:57 +03:00 committed by Calinteodor
parent 7ea78e9845
commit bedddd4760
1 changed files with 0 additions and 21 deletions

View File

@ -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}.
*