This commit is contained in:
Half-Shot
2026-04-24 11:54:24 +01:00
parent 44b6db6ff1
commit d8be069747
3 changed files with 4 additions and 2 deletions
+1
View File
@@ -143,6 +143,7 @@
"text": "This call already exists, would you like to join?", "text": "This call already exists, would you like to join?",
"title": "Join existing call?" "title": "Join existing call?"
}, },
"layout_switch_label": "Layout",
"layout_grid_label": "Grid", "layout_grid_label": "Grid",
"layout_spotlight_label": "Spotlight", "layout_spotlight_label": "Spotlight",
"lobby": { "lobby": {
+1 -1
View File
@@ -81,7 +81,7 @@
"@typescript-eslint/parser": "^8.31.0", "@typescript-eslint/parser": "^8.31.0",
"@use-gesture/react": "^10.2.11", "@use-gesture/react": "^10.2.11",
"@vector-im/compound-design-tokens": "^10.0.0", "@vector-im/compound-design-tokens": "^10.0.0",
"@vector-im/compound-web": "element-hq/compound-web#e7c91ef18e20f2fc70069696f4414018361ac512", "@vector-im/compound-web": "element-hq/compound-web#fc2e677326aaefec61ef74fb1d9de3c01eecfa7e",
"@vitejs/plugin-react": "^4.0.1", "@vitejs/plugin-react": "^4.0.1",
"@vitest/coverage-v8": "^4.0.18", "@vitest/coverage-v8": "^4.0.18",
"babel-plugin-transform-vite-meta-env": "^1.0.3", "babel-plugin-transform-vite-meta-env": "^1.0.3",
+2 -1
View File
@@ -237,7 +237,8 @@ export const CallFooter: FC<FooterProps> = ({
</div> </div>
{!hideControls && <div className={styles.buttons}>{buttons}</div>} {!hideControls && <div className={styles.buttons}>{buttons}</div>}
{setLayoutMode && layoutMode && showLayoutSwitcher && ( {setLayoutMode && layoutMode && showLayoutSwitcher && (
<Switch <Switch<"spotlight", "grid">
aria-label={t("layout_switch_label")}
leftLabel={t("layout_spotlight_label")} leftLabel={t("layout_spotlight_label")}
leftValue="spotlight" leftValue="spotlight"
leftIcon={SpotlightIcon} leftIcon={SpotlightIcon}