fix(regression): control buttons should be hidden on mobile PIP
This commit is contained in:
@@ -1341,6 +1341,10 @@ export function createCallViewModel$(
|
|||||||
// Layout is edge-to-edge; show/hide the footer in response to interactions
|
// Layout is edge-to-edge; show/hide the footer in response to interactions
|
||||||
return windowMode$.pipe(
|
return windowMode$.pipe(
|
||||||
switchMap((mode) => {
|
switchMap((mode) => {
|
||||||
|
if (mode == "pip" && platform != "desktop") {
|
||||||
|
// No controls are shown in mobile pip as interactions are disabled
|
||||||
|
return of(false);
|
||||||
|
}
|
||||||
const showInitially = mode !== "flat";
|
const showInitially = mode !== "flat";
|
||||||
const timeout$ = mode === "flat" ? timer(showFooterMs) : NEVER;
|
const timeout$ = mode === "flat" ? timer(showFooterMs) : NEVER;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user