From 785329761be60aab3c0136b13579cd2cee5282a7 Mon Sep 17 00:00:00 2001 From: Timo Date: Mon, 14 Jul 2025 17:34:53 +0200 Subject: [PATCH] update icon `earpiece` -> `phone` --- src/__snapshots__/AppBar.test.tsx.snap | 2 +- src/room/InCallView.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/__snapshots__/AppBar.test.tsx.snap b/src/__snapshots__/AppBar.test.tsx.snap index e7dc1c46..fe61d09b 100644 --- a/src/__snapshots__/AppBar.test.tsx.snap +++ b/src/__snapshots__/AppBar.test.tsx.snap @@ -32,7 +32,7 @@ exports[`AppBar > renders 1`] = ` xmlns="http://www.w3.org/2000/svg" > diff --git a/src/room/InCallView.tsx b/src/room/InCallView.tsx index 5a93a832..e8eb3cfd 100644 --- a/src/room/InCallView.tsx +++ b/src/room/InCallView.tsx @@ -29,7 +29,7 @@ import { useObservable, useObservableEagerState } from "observable-hooks"; import { logger } from "matrix-js-sdk/lib/logger"; import { RoomAndToDeviceEvents } from "matrix-js-sdk/lib/matrixrtc/RoomAndToDeviceKeyTransport"; import { - EarpieceIcon, + VoiceCallIcon, VolumeOnSolidIcon, } from "@vector-im/compound-design-tokens/assets/web/icons"; import { useTranslation } from "react-i18next"; @@ -457,7 +457,7 @@ export const InCallView: FC = ({ useMemo(() => { if (audioOutputSwitcher === null) return null; const isEarpieceTarget = audioOutputSwitcher.targetOutput === "earpiece"; - const Icon = isEarpieceTarget ? EarpieceIcon : VolumeOnSolidIcon; + const Icon = isEarpieceTarget ? VoiceCallIcon : VolumeOnSolidIcon; const label = isEarpieceTarget ? t("settings.devices.handset") : t("settings.devices.loudspeaker");