move appBar hook to InCallView

This commit is contained in:
Timo K
2026-04-14 18:32:39 +02:00
parent dd80679ec5
commit 242c40af14
2 changed files with 11 additions and 8 deletions

View File

@@ -27,7 +27,6 @@ import {
type CallViewModel,
type GridMode,
} from "../state/CallViewModel/CallViewModel";
import { useAppBarSecondaryButton } from "../AppBar";
export interface AudioOutputSwitcher {
targetOutput: string;
@@ -185,10 +184,6 @@ export const CallFooter: FC<FooterProps> = ({
if (audioOutputButton) buttons.push(audioOutputButton);
useAppBarSecondaryButton(
<SettingsIconButton key="settings" onClick={openSettings} />,
);
if (hangup)
buttons.push(
<EndCallButton