fix tests

This commit is contained in:
Timo K
2026-04-09 17:12:21 +02:00
parent 9528c4f837
commit 6be06de153
4 changed files with 32 additions and 6 deletions

View File

@@ -565,12 +565,14 @@ export const InCallView: FC<InCallViewProps> = ({
<SettingsButton key="settings" onClick={openSettings} />,
);
const footerNotNeeded =
showControls === false && headerStyle === HeaderStyle.None;
const footer = (
<InCallFooter
ref={footerRef}
asOverlay={windowMode === "flat"}
// TODO this should be computed in the view model!
showFooter={!showFooter || (!showControls && headerStyle === "none")}
showFooter={showFooter && !footerNotNeeded}
showControls={showControls}
showLogo={headerStyle !== HeaderStyle.None}
showSettingsButton={headerStyle !== HeaderStyle.AppBar}