File tree Expand file tree Collapse file tree
src/vs/workbench/contrib/extensions/browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1359,7 +1359,7 @@ export class SetColorThemeAction extends ExtensionAction {
13591359 return ;
13601360 }
13611361 let extensionThemes = SetColorThemeAction . getColorThemes ( this . colorThemes , this . extension ! ) ;
1362- const currentTheme = this . colorThemes . filter ( t => t . settingsId === this . configurationService . getValue ( COLOR_THEME_SETTING ) ) [ 0 ] ;
1362+ const currentTheme = this . colorThemes . filter ( t => t . settingsId === this . configurationService . getValue ( COLOR_THEME_SETTING ) ) [ 0 ] || this . workbenchThemeService . getColorTheme ( ) ;
13631363 showCurrentTheme = showCurrentTheme || extensionThemes . some ( t => t . id === currentTheme . id ) ;
13641364 if ( showCurrentTheme ) {
13651365 extensionThemes = extensionThemes . filter ( t => t . id !== currentTheme . id ) ;
You can’t perform that action at this time.
0 commit comments