mirror of
https://github.com/vector-im/element-call.git
synced 2026-05-22 11:04:38 +00:00
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
|
||||
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user