From aac5964121b848b8ca375c5d4796aa7fd1e7c26a Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 19 Jan 2022 00:56:49 +0000 Subject: [PATCH] Fix wrong icon being used for appearance tab in space preferences dialog (#7570) --- res/css/views/dialogs/_SpacePreferencesDialog.scss | 4 ++++ src/components/views/dialogs/SpacePreferencesDialog.tsx | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/res/css/views/dialogs/_SpacePreferencesDialog.scss b/res/css/views/dialogs/_SpacePreferencesDialog.scss index 3b6bacca84..ce36c2d339 100644 --- a/res/css/views/dialogs/_SpacePreferencesDialog.scss +++ b/res/css/views/dialogs/_SpacePreferencesDialog.scss @@ -44,3 +44,7 @@ limitations under the License. } } } + +.mx_SpacePreferencesDialog_appearanceIcon::before { + mask-image: url('$(res)/img/element-icons/settings/appearance.svg'); +} diff --git a/src/components/views/dialogs/SpacePreferencesDialog.tsx b/src/components/views/dialogs/SpacePreferencesDialog.tsx index dc047245ac..d8a1afa342 100644 --- a/src/components/views/dialogs/SpacePreferencesDialog.tsx +++ b/src/components/views/dialogs/SpacePreferencesDialog.tsx @@ -73,7 +73,7 @@ const SpacePreferencesDialog: React.FC = ({ space, initialTabId, onFinis new Tab( SpacePreferenceTab.Appearance, _td("Appearance"), - "mx_RoomSettingsDialog_notificationsIcon", + "mx_SpacePreferencesDialog_appearanceIcon", , ), ];