Skip to content

Commit 070a36d

Browse files
authored
SystemColorTheme set to matchColorTheme doesn't work (microsoft#211250)
1 parent 4e3206f commit 070a36d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/platform/theme/electron-main/themeMainService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,14 @@ export class ThemeMainService extends Disposable implements IThemeMainService {
6363
}
6464

6565
private updateSystemColorTheme(): void {
66-
switch (this.configurationService.getValue<'default' | 'auto' | 'light' | 'dark'>(SYSTEM_COLOR_THEME)) {
66+
switch (this.configurationService.getValue<'default' | 'matchColorTheme' | 'light' | 'dark'>(SYSTEM_COLOR_THEME)) {
6767
case 'dark':
6868
nativeTheme.themeSource = 'dark';
6969
break;
7070
case 'light':
7171
nativeTheme.themeSource = 'light';
7272
break;
73-
case 'auto':
73+
case 'matchColorTheme':
7474
switch (this.getBaseTheme()) {
7575
case 'vs': nativeTheme.themeSource = 'light'; break;
7676
case 'vs-dark': nativeTheme.themeSource = 'dark'; break;

0 commit comments

Comments
 (0)