fix(desktop): restore new chat shortcut navigation (#9528)
This commit is contained in:
@@ -2284,7 +2284,7 @@ async function appMain() {
|
||||
accelerator: shortcuts.newChat,
|
||||
click() {
|
||||
const focusedWindow = BrowserWindow.getFocusedWindow();
|
||||
if (focusedWindow) focusedWindow.webContents.send('new-chat');
|
||||
if (focusedWindow) focusedWindow.webContents.send('set-view', '');
|
||||
},
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user