Skip to content

Commit

Permalink
workbench.colorCustomizations not kept when loaded from remote worksp…
Browse files Browse the repository at this point in the history
…ace. Fixes #101433
  • Loading branch information
aeschli committed Jul 1, 2020
1 parent a50bf5d commit 5069ddc
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -372,13 +372,6 @@ export class WorkbenchThemeService implements IWorkbenchThemeService {
return null;
}
return themeData.ensureLoaded(this.extensionResourceLoaderService).then(_ => {
if (themeId === this.currentColorTheme.id && !this.currentColorTheme.isLoaded && this.currentColorTheme.hasEqualData(themeData)) {
this.currentColorTheme.clearCaches();
// the loaded theme is identical to the perisisted theme. Don't need to send an event.
this.currentColorTheme = themeData;
themeData.setCustomizations(this.settings);
return Promise.resolve(themeData);
}
themeData.setCustomizations(this.settings);
return this.applyTheme(themeData, settingsTarget);
}, error => {
Expand Down

0 comments on commit 5069ddc

Please sign in to comment.