fix(regression): control buttons should be hidden on mobile PIP

This commit is contained in:
Valere
2026-05-20 13:08:51 +02:00
parent 1865110492
commit 265781ea5e

View File

@@ -1341,6 +1341,10 @@ export function createCallViewModel$(
// Layout is edge-to-edge; show/hide the footer in response to interactions
return windowMode$.pipe(
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 timeout$ = mode === "flat" ? timer(showFooterMs) : NEVER;