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: disable reduced UI on welcome page

Bettenbuk Zoltan7a985dd843ee
diff --git a/react/features/welcome/components/WelcomePage.native.js b/react/features/welcome/components/WelcomePage.native.js
index 7bf56e6d7c..e3205e441a 100644
--- a/react/features/welcome/components/WelcomePage.native.js
+++ b/react/features/welcome/components/WelcomePage.native.js
@@ -98,11 +98,20 @@ class WelcomePage extends AbstractWelcomePage {
* @returns {ReactElement}
*/
render() {
+ // We want to have the welcome page support the reduced UI layout,
+ // but we ran into serious issues enabling it so we disable it
+ // until we have a proper fix in place. We leave the code here though, because
+ // this part should be fine when the bug is fixed.
+ //
+ // NOTE: when re-enabling, don't forget to uncomment the respective _mapStateToProps line too
+
+ /*
const { _reducedUI } = this.props;
if (_reducedUI) {
return this._renderReducedUI();
}
+ */
return this._renderFullUI();
}
@@ -316,12 +325,11 @@ class WelcomePage extends AbstractWelcomePage {
* @returns {Object}
*/
function _mapStateToProps(state) {
- const { reducedUI } = state['features/base/responsive-ui'];
-
return {
..._abstractMapStateToProps(state),
- _headerStyles: ColorSchemeRegistry.get(state, 'Header'),
- _reducedUI: reducedUI
+ _headerStyles: ColorSchemeRegistry.get(state, 'Header')
+
+ // _reducedUI: state['features/base/responsive-ui'].reducedUI
};
}