Skip to content

Commit 179cf0f

Browse files
authored
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.
1 parent de74816 commit 179cf0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/structures/UserMenu.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Please see LICENSE files in the repository root for full details.
99
import React, { type JSX, createRef, type ReactNode } from "react";
1010
import { type Room } from "matrix-js-sdk/src/matrix";
1111
import {
12+
ChatSolidIcon,
1213
HomeSolidIcon,
1314
LockSolidIcon,
1415
QrCodeIcon,
@@ -51,7 +52,6 @@ import { SDKContext } from "../../contexts/SDKContext";
5152
import { shouldShowFeedback } from "../../utils/Feedback";
5253
import { Icon as DarkLightModeSvg } from "../../../res/img/element-icons/roomlist/dark-light-mode.svg";
5354
import { Icon as NotificationsIcon } from "../../../res/img/element-icons/notifications.svg";
54-
import { Icon as FeedbackIcon } from "../../../res/img/element-icons/feedback.svg";
5555

5656
interface IProps {
5757
isPanelCollapsed: boolean;
@@ -317,7 +317,7 @@ export default class UserMenu extends React.Component<IProps, IState> {
317317
if (shouldShowFeedback()) {
318318
feedbackButton = (
319319
<IconizedContextMenuOption
320-
icon={<FeedbackIcon />}
320+
icon={<ChatSolidIcon />}
321321
label={_t("common|feedback")}
322322
onClick={this.onProvideFeedback}
323323
/>

0 commit comments

Comments
 (0)