From 86ea8a17f07feb9d8ed60342f558f5fdb129238a Mon Sep 17 00:00:00 2001 From: Amar Bathwal <110378139+amar-1995@users.noreply.github.com> Date: Fri, 8 Mar 2024 13:55:31 +0530 Subject: [PATCH] fix: show blocking prompt in landscape mode --- .../src/Prebuilt/components/MwebLandscapePrompt.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/roomkit-react/src/Prebuilt/components/MwebLandscapePrompt.tsx b/packages/roomkit-react/src/Prebuilt/components/MwebLandscapePrompt.tsx index b3ce28e14a..c2164f9895 100644 --- a/packages/roomkit-react/src/Prebuilt/components/MwebLandscapePrompt.tsx +++ b/packages/roomkit-react/src/Prebuilt/components/MwebLandscapePrompt.tsx @@ -32,7 +32,7 @@ export const MwebLandscapePrompt = () => { // Angle check needed to diff bw mobile and desktop setShowMwebLandscapePrompt( match({ angle, isLandscapeHLSStream, isLandscape, type }) - .with({ isLandscapeHLSStream }, () => false) + .with({ isLandscapeHLSStream: true }, () => false) .with({ angle: P.when(angle => angle && angle >= 90) }, ({ type }) => type.includes('landscape')) .otherwise(() => isLandscape), );