Show the subtitle of the app bar on small screens

Previously we were hiding the entire app bar on mobile phones in landscape orientation. However now that the app bar supports a small 'subtitle' element, we should show only the subtitle in this case to match the designs.

The subtitle still hides on tap, just like the footer.
This commit is contained in:
Robin
2026-06-22 18:08:54 +02:00
parent 5a68010022
commit 504888b359
2 changed files with 44 additions and 1 deletions

View File

@@ -1424,7 +1424,7 @@ export function createCallViewModel$(
windowMode$.pipe(
switchMap((mode) => {
// In small windows the header would be too obstructive
if (mode === "pip" || mode === "flat") return of(false);
if (mode === "pip") return of(false);
// In edge-to-edge layouts, couple the visibility of the header
// to that of the footer
return edgeToEdge$.pipe(