diff --git a/src/extension.ts b/src/extension.ts index a90ff4e..baa3078 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -23,7 +23,7 @@ function setActivity(rpc: Client): void { details: window.activeTextEditor ? `Editing ${basename(window.activeTextEditor.document.fileName)}` : 'Idle.', state: window.activeTextEditor ? `Workspace: ${workspace.getWorkspaceFolder(window.activeTextEditor.document.uri).name}` : 'Idling.', startTimestamp: new Date().getTime() / 1000, - largeImageKey: window.activeTextEditor ? extname(basename(window.activeTextEditor.document.fileName)).substring(1) || basename(window.activeTextEditor.document.fileName).substring(1) || 'vscode-big' : 'vscode-big', + largeImageKey: window.activeTextEditor ? extname(basename(window.activeTextEditor.document.fileName)).substring(1) || basename(window.activeTextEditor.document.fileName).substring(1) || 'file' : 'vscode-big', largeImageText: window.activeTextEditor ? window.activeTextEditor.document.languageId : 'Idling.', smallImageKey: 'vscode', smallImageText: 'Visual Studio Code',