From 179cf0f8e17ee0d284b88e72946f2ef2b25e8514 Mon Sep 17 00:00:00 2001 From: Robin Date: Fri, 12 Dec 2025 04:40:38 -0500 Subject: [PATCH] Make the feedback icon be the right color in dark theme (#31527) Our feedback.svg is not tintable. Rather than mess with it I think it makes sense to use the equivalent Compound icon. --- src/components/structures/UserMenu.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/structures/UserMenu.tsx b/src/components/structures/UserMenu.tsx index 8c96fab279..249a5f456b 100644 --- a/src/components/structures/UserMenu.tsx +++ b/src/components/structures/UserMenu.tsx @@ -9,6 +9,7 @@ Please see LICENSE files in the repository root for full details. import React, { type JSX, createRef, type ReactNode } from "react"; import { type Room } from "matrix-js-sdk/src/matrix"; import { + ChatSolidIcon, HomeSolidIcon, LockSolidIcon, QrCodeIcon, @@ -51,7 +52,6 @@ import { SDKContext } from "../../contexts/SDKContext"; import { shouldShowFeedback } from "../../utils/Feedback"; import { Icon as DarkLightModeSvg } from "../../../res/img/element-icons/roomlist/dark-light-mode.svg"; import { Icon as NotificationsIcon } from "../../../res/img/element-icons/notifications.svg"; -import { Icon as FeedbackIcon } from "../../../res/img/element-icons/feedback.svg"; interface IProps { isPanelCollapsed: boolean; @@ -317,7 +317,7 @@ export default class UserMenu extends React.Component { if (shouldShowFeedback()) { feedbackButton = ( } + icon={} label={_t("common|feedback")} onClick={this.onProvideFeedback} />