mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-30 19:39:22 +00:00
review
This commit is contained in:
@@ -51,11 +51,7 @@ import { CallFooter, type FooterSnapshot } from "../components/CallFooter";
|
|||||||
import { useCallViewKeyboardShortcuts } from "../useCallViewKeyboardShortcuts";
|
import { useCallViewKeyboardShortcuts } from "../useCallViewKeyboardShortcuts";
|
||||||
import { createLobbyFooterViewModel } from "../components/CallFooterViewModel";
|
import { createLobbyFooterViewModel } from "../components/CallFooterViewModel";
|
||||||
import { type ViewModel } from "../state/ViewModel";
|
import { type ViewModel } from "../state/ViewModel";
|
||||||
import {
|
import { useAppBarPrimaryButtonIconKind } from "../AppBar";
|
||||||
useAppBarHidden,
|
|
||||||
useAppBarPrimaryButtonIconKind,
|
|
||||||
useAppBarTitle,
|
|
||||||
} from "../AppBar";
|
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
client: MatrixClient;
|
client: MatrixClient;
|
||||||
@@ -92,8 +88,6 @@ export const LobbyView: FC<Props> = ({
|
|||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
usePageTitle(matrixInfo.roomName);
|
usePageTitle(matrixInfo.roomName);
|
||||||
|
|
||||||
useAppBarHidden(false);
|
|
||||||
useAppBarTitle(matrixInfo.roomName);
|
|
||||||
useAppBarPrimaryButtonIconKind("back");
|
useAppBarPrimaryButtonIconKind("back");
|
||||||
const audioEnabled = useBehavior(muteStates.audio.enabled$);
|
const audioEnabled = useBehavior(muteStates.audio.enabled$);
|
||||||
const videoEnabled = useBehavior(muteStates.video.enabled$);
|
const videoEnabled = useBehavior(muteStates.video.enabled$);
|
||||||
|
|||||||
Reference in New Issue
Block a user