提交 c0ef3e48 编写于 作者: J Joao Moreno

git: fix sync statusbar

上级 01e466ee
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册