We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f15b3c commit 6c7c758Copy full SHA for 6c7c758
src/client/common/utils/icons.ts
@@ -10,9 +10,9 @@ import { EXTENSION_ROOT_DIR } from '../../constants';
10
const darkIconsPath = path.join(EXTENSION_ROOT_DIR, 'resources', 'dark');
11
const lightIconsPath = path.join(EXTENSION_ROOT_DIR, 'resources', 'light');
12
13
-export function getIcon(fileName: string): { light: string | Uri; dark: string | Uri } {
+export function getIcon(fileName: string): { light: Uri; dark: Uri } {
14
return {
15
- dark: path.join(darkIconsPath, fileName),
16
- light: path.join(lightIconsPath, fileName)
+ dark: Uri.file(path.join(darkIconsPath, fileName)),
+ light: Uri.file(path.join(lightIconsPath, fileName))
17
};
18
}
0 commit comments