Skip to content

Commit 58cd5c1

Browse files
committed
Fixes backwards indicator
1 parent 044e607 commit 58cd5c1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/views/branchNode.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ export class BranchNode extends ExplorerRefNode {
6565

6666
if (this.branch.state.ahead || this.branch.state.behind) {
6767
if (this.branch.state.behind) {
68-
iconSuffix = '-yellow';
68+
iconSuffix = '-red';
6969
}
7070
if (this.branch.state.ahead) {
71-
iconSuffix = this.branch.state.behind ? '-red' : '-green';
71+
iconSuffix = this.branch.state.behind ? '-yellow' : '-green';
7272
}
7373
}
7474
}

src/views/statusNode.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,10 @@ export class StatusNode extends ExplorerNode {
8383
hasChildren = true;
8484

8585
if (status.state.behind) {
86-
iconSuffix = '-yellow';
86+
iconSuffix = '-red';
8787
}
8888
if (status.state.ahead) {
89-
iconSuffix = status.state.behind ? '-red' : '-green';
89+
iconSuffix = status.state.behind ? '-yellow' : '-green';
9090
}
9191
}
9292
}

0 commit comments

Comments
 (0)