Move settings button out of the button bar.

User overflow button instead: at the top for mobile, bottom left for
web.
This commit is contained in:
Timo K
2026-04-08 16:05:46 +02:00
parent efd1b42da0
commit cf642aa670
5 changed files with 89 additions and 62 deletions

View File

@@ -16,10 +16,12 @@ import {
VideoCallOffSolidIcon,
EndCallIcon,
ShareScreenSolidIcon,
SettingsSolidIcon,
OverflowHorizontalIcon,
OverflowVerticalIcon,
} from "@vector-im/compound-design-tokens/assets/web/icons";
import styles from "./Button.module.css";
import { platform } from "../Platform";
interface MicButtonProps extends ComponentPropsWithoutRef<"button"> {
enabled: boolean;
@@ -134,8 +136,10 @@ export const SettingsButton: FC<SettingsButtonProps> = (props) => {
<Tooltip label={t("common.settings")}>
<CpdButton
iconOnly
Icon={SettingsSolidIcon}
kind="secondary"
Icon={
platform === "android" ? OverflowVerticalIcon : OverflowHorizontalIcon
}
kind="tertiary"
{...props}
/>
</Tooltip>