File tree Expand file tree Collapse file tree
src/vs/workbench/services/themes/browser Expand file tree Collapse file tree Original file line number Diff line number Diff 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 => {
You can’t perform that action at this time.
0 commit comments