Update enablement of status bar item in constructor (#80517)
This commit is contained in:
parent
0b3ae7e089
commit
3ff6b96ab7
1 changed files with 1 additions and 0 deletions
|
@ -71,6 +71,7 @@ class SyncStatusBar {
|
|||
|
||||
const onEnablementChange = filterEvent(workspace.onDidChangeConfiguration, e => e.affectsConfiguration('git.enableStatusBarSync'));
|
||||
onEnablementChange(this.updateEnablement, this, this.disposables);
|
||||
this.updateEnablement();
|
||||
|
||||
this._onDidChange.fire();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue