Skip to content

Commit

Permalink
resolve #6
Browse files Browse the repository at this point in the history
  • Loading branch information
moshfeu committed Nov 20, 2019
1 parent 7ab5b30 commit 567333f
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 3 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@
{
"title": "Refresh",
"command": "foldersCompare.refresh",
"icon": "resources/refresh.svg"
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
}
],
"viewsContainers": {
Expand Down
1 change: 1 addition & 0 deletions resources/dark/file.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions resources/dark/folder.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions resources/dark/open.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions resources/dark/refresh.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
1 change: 1 addition & 0 deletions resources/light/open.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
4 changes: 2 additions & 2 deletions src/models/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export class File extends TreeItem {
}

iconPath = {
light: join(__filename, '..', '..', '..', 'resources', `${this.type}.svg`),
dark: join(__filename, '..', '..', '..', 'resources', `${this.type}.svg`),
light: join(__filename, '..', '..', '..', 'resources', 'light', `${this.type}.svg`),
dark: join(__filename, '..', '..', '..', 'resources', 'dark', `${this.type}.svg`),
};

contextValue = 'file';
Expand Down

0 comments on commit 567333f

Please sign in to comment.