@@ -76,10 +76,7 @@ export class FocusIndicator implements Disposable {
7676 private async onConfigurationChanged ( e : ConfigurationChangeEvent ) {
7777 if ( ! configuration . changed ( e , 'launchpad.indicator' ) ) return ;
7878
79- if (
80- configuration . changed ( e , 'launchpad.indicator.openInEditor' ) ||
81- configuration . changed ( e , 'launchpad.indicator.label' )
82- ) {
79+ if ( configuration . changed ( e , 'launchpad.indicator.label' ) ) {
8380 this . updateStatusBarCommand ( ) ;
8481 }
8582
@@ -309,18 +306,16 @@ export class FocusIndicator implements Disposable {
309306
310307 private updateStatusBarCommand ( ) {
311308 const labelType = configuration . get ( 'launchpad.indicator.label' ) ?? 'item' ;
312- this . _statusBarFocus . command = configuration . get ( 'launchpad.indicator.openInEditor' )
313- ? 'gitlens.showFocusPage'
314- : {
315- title : 'Open Launchpad' ,
316- command : Commands . ShowLaunchpad ,
317- arguments : [
318- {
319- source : 'launchpad-indicator' ,
320- state : { selectTopItem : labelType === 'item' } ,
321- } satisfies Omit < FocusCommandArgs , 'command' > ,
322- ] ,
323- } ;
309+ this . _statusBarFocus . command = {
310+ title : 'Open Launchpad' ,
311+ command : Commands . ShowLaunchpad ,
312+ arguments : [
313+ {
314+ source : 'launchpad-indicator' ,
315+ state : { selectTopItem : labelType === 'item' } ,
316+ } satisfies Omit < FocusCommandArgs , 'command' > ,
317+ ] ,
318+ } ;
324319 }
325320
326321 private updateStatusBarWithItems ( tooltip : MarkdownString , categorizedItems : FocusItem [ ] | undefined ) {
0 commit comments