Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 4903ce5

Browse files
committed
Merge branch 'travis/EL/appearance-tab' into 'element'
Fix appearance tab saying the wrong theme is selected See merge request new-vector/element/element-web/matrix-react-sdk!17
2 parents 3777644 + 3a8b3e2 commit 4903ce5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/settings/tabs/user/AppearanceUserSettingsTab.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export default class AppearanceUserSettingsTab extends React.Component<IProps, I
8989
// We have to mirror the logic from ThemeWatcher.getEffectiveTheme so we
9090
// show the right values for things.
9191

92-
const themeChoice: string = SettingsStore.getValueAt(SettingLevel.ACCOUNT, "theme");
92+
const themeChoice: string = SettingsStore.getValue("theme");
9393
const systemThemeExplicit: boolean = SettingsStore.getValueAt(
9494
SettingLevel.DEVICE, "use_system_theme", null, false, true);
9595
const themeExplicit: string = SettingsStore.getValueAt(

0 commit comments

Comments
 (0)