diff --git a/images/dark/icon-compare-threedot.svg b/images/dark/icon-compare-threedot.svg deleted file mode 100644 index d8b0ceb..0000000 --- a/images/dark/icon-compare-threedot.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/images/dark/icon-compare-twodot.svg b/images/dark/icon-compare-twodot.svg deleted file mode 100644 index 3c06069..0000000 --- a/images/dark/icon-compare-twodot.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/images/dark/icon-eye-selected.svg b/images/dark/icon-eye-selected.svg deleted file mode 100644 index ffd75e0..0000000 --- a/images/dark/icon-eye-selected.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/images/dark/icon-eye.svg b/images/dark/icon-eye.svg deleted file mode 100644 index 335f850..0000000 --- a/images/dark/icon-eye.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/images/dark/icon-open.svg b/images/dark/icon-open.svg deleted file mode 100644 index fe7dd89..0000000 --- a/images/dark/icon-open.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/images/dark/icon-tag.svg b/images/dark/icon-tag.svg deleted file mode 100644 index 45a06d7..0000000 --- a/images/dark/icon-tag.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/images/dark/icon-window-disabled.svg b/images/dark/icon-window-disabled.svg deleted file mode 100644 index 8e9b163..0000000 --- a/images/dark/icon-window-disabled.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/images/dark/icon-window.svg b/images/dark/icon-window.svg deleted file mode 100644 index a53c173..0000000 --- a/images/dark/icon-window.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/images/light/icon-compare-threedot.svg b/images/light/icon-compare-threedot.svg deleted file mode 100644 index e81770f..0000000 --- a/images/light/icon-compare-threedot.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/images/light/icon-compare-twodot.svg b/images/light/icon-compare-twodot.svg deleted file mode 100644 index b5c7787..0000000 --- a/images/light/icon-compare-twodot.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/images/light/icon-eye-selected.svg b/images/light/icon-eye-selected.svg deleted file mode 100644 index 033d189..0000000 --- a/images/light/icon-eye-selected.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/images/light/icon-eye.svg b/images/light/icon-eye.svg deleted file mode 100644 index a1e26ae..0000000 --- a/images/light/icon-eye.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/images/light/icon-open.svg b/images/light/icon-open.svg deleted file mode 100644 index a40a84a..0000000 --- a/images/light/icon-open.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/images/light/icon-tag.svg b/images/light/icon-tag.svg deleted file mode 100644 index 5a2361f..0000000 --- a/images/light/icon-tag.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/images/light/icon-window-disabled.svg b/images/light/icon-window-disabled.svg deleted file mode 100644 index 3529b55..0000000 --- a/images/light/icon-window-disabled.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/images/light/icon-window.svg b/images/light/icon-window.svg deleted file mode 100644 index 7f3e27c..0000000 --- a/images/light/icon-window.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/src/views/nodes/branchesNode.ts b/src/views/nodes/branchesNode.ts index 5b49e31..b4fe380 100644 --- a/src/views/nodes/branchesNode.ts +++ b/src/views/nodes/branchesNode.ts @@ -1,11 +1,10 @@ 'use strict'; -import { TreeItem, TreeItemCollapsibleState } from 'vscode'; +import { ThemeIcon, TreeItem, TreeItemCollapsibleState } from 'vscode'; import { BranchesView } from '../branchesView'; import { BranchNode } from './branchNode'; import { BranchOrTagFolderNode } from './branchOrTagFolderNode'; import { MessageNode } from './common'; import { ViewBranchesLayout } from '../../configuration'; -import { Container } from '../../container'; import { Repository } from '../../git/git'; import { GitUri } from '../../git/gitUri'; import { RepositoriesView } from '../repositoriesView'; @@ -84,10 +83,7 @@ export class BranchesNode extends ViewNode { if (await this.repo.hasRemotes()) { item.contextValue += '+remotes'; } - item.iconPath = { - dark: Container.context.asAbsolutePath('images/dark/icon-branch.svg'), - light: Container.context.asAbsolutePath('images/light/icon-branch.svg'), - }; + item.iconPath = new ThemeIcon('git-branch'); item.id = this.id; return item;