From 58cd5c19969a058de145b806a6e761b3b70a3acf Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 28 Mar 2018 19:16:47 -0400 Subject: [PATCH] Fixes backwards indicator --- src/views/branchNode.ts | 4 ++-- src/views/statusNode.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/branchNode.ts b/src/views/branchNode.ts index 64364ca..166f537 100644 --- a/src/views/branchNode.ts +++ b/src/views/branchNode.ts @@ -65,10 +65,10 @@ export class BranchNode extends ExplorerRefNode { if (this.branch.state.ahead || this.branch.state.behind) { if (this.branch.state.behind) { - iconSuffix = '-yellow'; + iconSuffix = '-red'; } if (this.branch.state.ahead) { - iconSuffix = this.branch.state.behind ? '-red' : '-green'; + iconSuffix = this.branch.state.behind ? '-yellow' : '-green'; } } } diff --git a/src/views/statusNode.ts b/src/views/statusNode.ts index 07f2f13..39d5edc 100644 --- a/src/views/statusNode.ts +++ b/src/views/statusNode.ts @@ -83,10 +83,10 @@ export class StatusNode extends ExplorerNode { hasChildren = true; if (status.state.behind) { - iconSuffix = '-yellow'; + iconSuffix = '-red'; } if (status.state.ahead) { - iconSuffix = status.state.behind ? '-red' : '-green'; + iconSuffix = status.state.behind ? '-yellow' : '-green'; } } }