Skip to content

Commit 66de915

Browse files
committed
Changes to use loading icon, rather than sync
1 parent e4700ed commit 66de915

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/git/formatters/commitFormatter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ export class CommitFormatter extends Formatter<GitCommit, CommitFormatOptions> {
318318
pr.state
319319
}, ${pr.formatDateFromNow()}")${separator}`;
320320
} else if (pr instanceof Promises.CancellationError) {
321-
commands += `[$(git-pull-request) PR $(sync~spin)](command:${Commands.RefreshHover} "Searching for a Pull Request (if any) that introduced this commit...")${separator}`;
321+
commands += `[$(git-pull-request) PR $(loading~spin)](command:${Commands.RefreshHover} "Searching for a Pull Request (if any) that introduced this commit...")${separator}`;
322322
} else if (pr.provider != null && Container.config.integrations.enabled) {
323323
commands += `[$(plug) Connect to ${pr.provider.name}${
324324
GlyphChars.Ellipsis
@@ -507,7 +507,7 @@ export class CommitFormatter extends Formatter<GitCommit, CommitFormatOptions> {
507507
}
508508
} else if (pr instanceof Promises.CancellationError) {
509509
text = this._options.markdown
510-
? `[PR $(sync~spin)](command:${Commands.RefreshHover} "Searching for a Pull Request (if any) that introduced this commit...")`
510+
? `[PR $(loading~spin)](command:${Commands.RefreshHover} "Searching for a Pull Request (if any) that introduced this commit...")`
511511
: this._options?.pullRequestPendingMessage ?? emptyStr;
512512
} else {
513513
return this._padOrTruncate(emptyStr, this._options.tokenOptions.pullRequest);

src/statusbar/statusBarController.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export class StatusBarController implements Disposable {
132132
if (clear) {
133133
this.clearBlame();
134134
} else if (this._statusBarBlame != null) {
135-
this._statusBarBlame.text = this._statusBarBlame.text.replace('$(git-commit)', '$(sync~spin)');
135+
this._statusBarBlame.text = this._statusBarBlame.text.replace('$(git-commit)', '$(loading~spin)');
136136
}
137137
}
138138

@@ -179,7 +179,7 @@ export class StatusBarController implements Disposable {
179179
getBranchAndTagTips: getBranchAndTagTips,
180180
messageTruncateAtNewLine: true,
181181
pullRequestOrRemote: pr,
182-
pullRequestPendingMessage: 'PR $(sync~spin)',
182+
pullRequestPendingMessage: 'PR $(loading~spin)',
183183
})}`;
184184

185185
switch (cfg.command) {

0 commit comments

Comments
 (0)