Skip to content

Commit

Permalink
fix: refresh status bar after push
Browse files Browse the repository at this point in the history
close #566
  • Loading branch information
Vinzent03 committed Jul 31, 2023
1 parent 919d7f8 commit ed31df8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1190,6 +1190,7 @@ export default class ObsidianGit extends Plugin {
}
this.offlineMode = false;
this.setState(PluginState.idle);
dispatchEvent(new CustomEvent("git-refresh"));

return true;
}
Expand Down

0 comments on commit ed31df8

Please sign in to comment.