mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
git: fix sync statusbar
This commit is contained in:
@@ -70,7 +70,7 @@ export class SyncStatusBar {
|
||||
}
|
||||
|
||||
const HEAD = this.model.HEAD;
|
||||
let icon = '$(sync)';
|
||||
let icon = '$(sync) ';
|
||||
let text = '';
|
||||
|
||||
if (HEAD && HEAD.name && HEAD.commit) {
|
||||
@@ -78,11 +78,11 @@ export class SyncStatusBar {
|
||||
|
||||
if (HEAD.upstream) {
|
||||
if (HEAD.ahead || HEAD.behind) {
|
||||
text += `'${HEAD.behind}↓ ${HEAD.ahead}↑'`;
|
||||
text += `${HEAD.behind}↓ ${HEAD.ahead}↑`;
|
||||
}
|
||||
this.raw.command = 'git.sync';
|
||||
} else {
|
||||
icon = '$(cloud-upload)';
|
||||
icon = '$(cloud-upload) ';
|
||||
this.raw.command = 'git.publish';
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user