mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2026-01-21 12:02:57 -08:00
refactor: remove unused chat.google.com
This commit is contained in:
parent
1d3d998e3a
commit
f0810fc85f
1 changed files with 0 additions and 6 deletions
|
|
@ -153,12 +153,6 @@ export default function setupViewEventHandlers(
|
|||
if (workspaceObject === undefined) {
|
||||
return;
|
||||
}
|
||||
// fix "Google Chat isn't supported on your current browser"
|
||||
// https://github.com/atomery/webcatalog/issues/820
|
||||
if (typeof url === 'string' && url.includes('error/browser-not-supported') && url.startsWith('https://chat.google.com')) {
|
||||
const reference = new URL(url).searchParams.get('ref') ?? '';
|
||||
void view.webContents.loadURL(`https://chat.google.com${reference}`);
|
||||
}
|
||||
if (workspaceObject.active) {
|
||||
await windowService.sendToAllWindows(WindowChannel.updateCanGoBack, view.webContents.canGoBack());
|
||||
await windowService.sendToAllWindows(WindowChannel.updateCanGoForward, view.webContents.canGoForward());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue