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(rn,video-layout) fix mobile

Saúl Ibarra Corretgé06842c724a8e
diff --git a/react/features/video-layout/functions.any.js b/react/features/video-layout/functions.any.js
index 7f7fddb320..56ad032238 100644
--- a/react/features/video-layout/functions.any.js
+++ b/react/features/video-layout/functions.any.js
@@ -40,7 +40,10 @@ export function getAutoPinSetting() {
* @returns {string}
*/
export function getCurrentLayout(state: Object) {
- if (shouldDisplayTileView(state)) {
+ if (navigator.product === 'ReactNative') {
+ // FIXME: what should this return?
+ return undefined;
+ } else if (shouldDisplayTileView(state)) {
return LAYOUTS.TILE_VIEW;
} else if (interfaceConfig.VERTICAL_FILMSTRIP) {
if (isStageFilmstripAvailable(state, 2)) {