mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
Disabling vscode-icons extension does not reset icons to default. FIxes #62298
This commit is contained in:
parent
4bc4b8e56e
commit
ed40c5e0bc
|
@ -262,7 +262,7 @@ export class WorkbenchThemeService implements IWorkbenchThemeService {
|
|||
if (devThemes.length) {
|
||||
return this.setFileIconTheme(devThemes[0].id, ConfigurationTarget.MEMORY);
|
||||
} else {
|
||||
return this.setFileIconTheme(theme && theme.id, undefined);
|
||||
return this.setFileIconTheme(theme && theme.id || DEFAULT_ICON_THEME_SETTING_VALUE, undefined);
|
||||
}
|
||||
});
|
||||
}),
|
||||
|
@ -285,7 +285,7 @@ export class WorkbenchThemeService implements IWorkbenchThemeService {
|
|||
let iconThemeSetting = this.configurationService.getValue<string | null>(ICON_THEME_SETTING);
|
||||
if (iconThemeSetting !== this.currentIconTheme.settingsId) {
|
||||
this.iconThemeStore.findThemeBySettingsId(iconThemeSetting).then(theme => {
|
||||
this.setFileIconTheme(theme && theme.id, undefined);
|
||||
this.setFileIconTheme(theme && theme.id || DEFAULT_ICON_THEME_SETTING_VALUE, undefined);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue