Skip to content

Commit 5069ddc

Browse files
committed
workbench.colorCustomizations not kept when loaded from remote workspace. Fixes #101433
1 parent a50bf5d commit 5069ddc

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/vs/workbench/services/themes/browser/workbenchThemeService.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -372,13 +372,6 @@ export class WorkbenchThemeService implements IWorkbenchThemeService {
372372
return null;
373373
}
374374
return themeData.ensureLoaded(this.extensionResourceLoaderService).then(_ => {
375-
if (themeId === this.currentColorTheme.id && !this.currentColorTheme.isLoaded && this.currentColorTheme.hasEqualData(themeData)) {
376-
this.currentColorTheme.clearCaches();
377-
// the loaded theme is identical to the perisisted theme. Don't need to send an event.
378-
this.currentColorTheme = themeData;
379-
themeData.setCustomizations(this.settings);
380-
return Promise.resolve(themeData);
381-
}
382375
themeData.setCustomizations(this.settings);
383376
return this.applyTheme(themeData, settingsTarget);
384377
}, error => {

0 commit comments

Comments
 (0)