Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
Timo K
2024-04-17 18:37:46 +02:00
parent b663cb48d8
commit a7f95ecfc1
13 changed files with 111 additions and 89 deletions
+5 -7
View File
@@ -43,10 +43,10 @@ interface Props {
matrixInfo: MatrixInfo;
muteStates: MuteStates;
onEnter: () => void;
enterLabel?: JSX.Element;
enterLabel?: JSX.Element | string;
confineToRoom: boolean;
hideHeader: boolean;
participantCount: number;
participantCount: number | null;
onShareClick: (() => void) | null;
waitingForInvite?: boolean;
}
@@ -121,11 +121,9 @@ export const LobbyView: FC<Props> = ({
<div className={styles.content}>
<VideoPreview matrixInfo={matrixInfo} muteStates={muteStates}>
<Button
className={classNames(
"cpd-theme-dark",
styles.join,
waitingForInvite ? styles.wait : "",
)}
className={classNames(styles.join, {
[styles.wait]: waitingForInvite,
})}
size={waitingForInvite ? "sm" : "lg"}
onClick={() => {
if (!waitingForInvite) onEnter();