未验证 提交 6595dcec 编写于 作者: J João Moreno 提交者: GitHub

Merge pull request #52146 from NahomAgidew/fix/spin-sync-icon-on-push

Fix to #43625: spin sync icon on push
......@@ -71,10 +71,11 @@ class SyncStatusBar {
}
private onOperationsChange(): void {
this.state = {
...this.state,
isSyncRunning: this.repository.operations.isRunning(Operation.Sync)
};
const isSyncRunning = this.repository.operations.isRunning(Operation.Sync) ||
this.repository.operations.isRunning(Operation.Push) ||
this.repository.operations.isRunning(Operation.Pull);
this.state = { ...this.state, isSyncRunning };
}
private onModelChange(): void {
......@@ -173,4 +174,4 @@ export class StatusBarCommands {
this.checkoutStatusBar.dispose();
this.disposables = dispose(this.disposables);
}
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册