From 23a0f29b7898079bdcfb0e4930b40f40ba2e4e6c Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Mon, 27 Apr 2026 11:11:46 +0100 Subject: [PATCH] Clean up the liast bits --- src/button/Button.tsx | 12 ++++++------ src/button/ReactionToggleButton.tsx | 2 +- src/components/CallFooter.tsx | 2 +- src/room/LobbyView.tsx | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/button/Button.tsx b/src/button/Button.tsx index 8a22668e..40360ce9 100644 --- a/src/button/Button.tsx +++ b/src/button/Button.tsx @@ -32,7 +32,7 @@ import { platform } from "../Platform"; interface MicButtonProps extends ComponentPropsWithoutRef<"button"> { enabled: boolean; - size?: "sm" | "lg"; + size?: "md" | "lg"; } export const MicButton: FC = ({ enabled, ...props }) => { @@ -58,7 +58,7 @@ export const MicButton: FC = ({ enabled, ...props }) => { interface VideoButtonProps extends ComponentPropsWithoutRef<"button"> { enabled: boolean; - size?: "sm" | "lg"; + size?: "md" | "lg"; } export const VideoButton: FC = ({ enabled, ...props }) => { @@ -84,7 +84,7 @@ export const VideoButton: FC = ({ enabled, ...props }) => { interface ShareScreenButtonProps extends ComponentPropsWithoutRef<"button"> { enabled: boolean; - size: "sm" | "lg"; + size: "md" | "lg"; } export const ShareScreenButton: FC = ({ @@ -111,7 +111,7 @@ export const ShareScreenButton: FC = ({ }; interface EndCallButtonProps extends ComponentPropsWithoutRef<"button"> { - size?: "sm" | "lg"; + size?: "md" | "lg"; } export const EndCallButton: FC = ({ @@ -134,7 +134,7 @@ export const EndCallButton: FC = ({ }; interface LoudspeakerButtonProps extends ComponentPropsWithoutRef<"button"> { - size?: "sm" | "lg"; + size?: "md" | "lg"; loudspeakerModeEnabled: boolean; } export const LoudspeakerButton: FC = ({ @@ -195,7 +195,7 @@ export const SettingsIconButton: FC = ({ }; interface SettingsButtonProps extends ComponentPropsWithoutRef<"button"> { - size?: "sm" | "lg"; + size?: "md" | "lg"; /** If this buttons should be setup to be used in the app bar */ showForScreenWidth?: "wide" | "narrow"; } diff --git a/src/button/ReactionToggleButton.tsx b/src/button/ReactionToggleButton.tsx index 39804a5f..c71642e9 100644 --- a/src/button/ReactionToggleButton.tsx +++ b/src/button/ReactionToggleButton.tsx @@ -173,7 +173,7 @@ export interface ReactionData { interface ReactionToggleButtonProps extends ComponentPropsWithoutRef<"button"> { reactionData: ReactionData; identifier: string; - size?: "sm" | "lg"; + size?: "md" | "lg"; /** List of participants raising their hand */ } diff --git a/src/components/CallFooter.tsx b/src/components/CallFooter.tsx index 4e728d3b..fdedf36c 100644 --- a/src/components/CallFooter.tsx +++ b/src/components/CallFooter.tsx @@ -101,7 +101,7 @@ export const CallFooter: FC = ({ tileStoreGeneration, }) => { const buttons: JSX.Element[] = []; - const buttonSize = asPip ? "sm" : "lg"; + const buttonSize = asPip ? "md" : "lg"; const showSettingsButton = openSettings !== undefined && !asPip && !hideControls; const showLayoutSwitcher = !asPip && !hideControls; diff --git a/src/room/LobbyView.tsx b/src/room/LobbyView.tsx index 367dc8df..65ca00c1 100644 --- a/src/room/LobbyView.tsx +++ b/src/room/LobbyView.tsx @@ -209,7 +209,7 @@ export const LobbyView: FC = ({ className={classNames(styles.join, { [styles.wait]: waitingForInvite, })} - size={waitingForInvite ? "sm" : "lg"} + size={waitingForInvite ? "md" : "lg"} disabled={waitingForInvite} onClick={() => { if (!waitingForInvite) onEnter();