more test coverage

This commit is contained in:
Timo K
2026-06-11 10:39:59 +02:00
parent 9b2e1279bc
commit 659da15cc2
3 changed files with 296 additions and 16 deletions

View File

@@ -52,7 +52,11 @@ import { CallFooter, type FooterSnapshot } from "../components/CallFooter";
import { useCallViewKeyboardShortcuts } from "../useCallViewKeyboardShortcuts";
import { createLobbyFooterViewModel } from "../components/CallFooterViewModel";
import { type ViewModel } from "../state/ViewModel";
import { useAppBarPrimaryButtonIcon } from "../AppBar";
import {
useAppBarHidden,
useAppBarPrimaryButtonIcon,
useAppBarTitle,
} from "../AppBar";
interface Props {
client: MatrixClient;
@@ -89,6 +93,8 @@ export const LobbyView: FC<Props> = ({
const { t } = useTranslation();
usePageTitle(matrixInfo.roomName);
useAppBarHidden(hideHeader);
useAppBarTitle(matrixInfo.roomName);
useAppBarPrimaryButtonIcon(ArrowLeftIcon);
const audioEnabled = useBehavior(muteStates.audio.enabled$);
const videoEnabled = useBehavior(muteStates.video.enabled$);