Skip to content

Commit

Permalink
clear expert status bar when file changed
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhamlett committed Feb 3, 2023
1 parent f6f5679 commit f98aec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/wakatime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ export class WakaTime {
let file: string = doc.fileName;
if (file) {
if (this.currentlyFocusedFile !== file) {
this.updateTeamStatusBarFromJson();
this.updateTeamStatusBar(doc);
}

Expand Down
1 change: 1 addition & 0 deletions src/web/wakatime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ export class WakaTime {
let file: string = doc.fileName;
if (file) {
if (this.currentlyFocusedFile !== file) {
this.updateTeamStatusBarFromJson();
this.updateTeamStatusBar(doc);
}

Expand Down

0 comments on commit f98aec2

Please sign in to comment.