Skip to content

Commit 342ea8b

Browse files
authored
Merge pull request #772 from krassowski/fix-r-icon
Restore R icon in the file list
2 parents a12bab7 + 45779c0 commit 342ea8b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/style/FileListStyle.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@ export const pythonFileIconStyle = style({
4444
backgroundImage: 'var(--jp-icon-python)'
4545
});
4646

47-
export const kernelFileIconStyle = style({
48-
backgroundImage: 'var(--jp-icon-r)'
47+
export const rKernelFileIconStyle = style({
48+
backgroundImage: 'var(--jp-icon-r-kernel)'
4949
});

src/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
genericFileIconStyle,
55
imageFileIconStyle,
66
jsonFileIconStyle,
7-
kernelFileIconStyle,
7+
rKernelFileIconStyle,
88
markdownFileIconStyle,
99
notebookFileIconStyle,
1010
pythonFileIconStyle,
@@ -64,7 +64,7 @@ export function getFileIconClassName(path: string): string {
6464
case '.xlsx':
6565
return spreadsheetFileIconStyle;
6666
case '.r':
67-
return kernelFileIconStyle;
67+
return rKernelFileIconStyle;
6868
case '.yml':
6969
case '.yaml':
7070
return yamlFileIconStyle;

0 commit comments

Comments
 (0)