Enable noImplicitAny and kill off request (#457)
* Enable noImplicitAny * Switch from request to node-fetch * Fix node-fetch via patch-package * Add edge to handler * Pin node-fetch to v2
This commit is contained in:
+1
-1
@@ -39,7 +39,7 @@ ipcMain.on('loudNotification', function(): void {
|
||||
if (process.platform === 'win32' && global.mainWindow && !global.mainWindow.isFocused() && !focusHandlerAttached) {
|
||||
global.mainWindow.flashFrame(true);
|
||||
global.mainWindow.once('focus', () => {
|
||||
global.mainWindow.flashFrame(false);
|
||||
global.mainWindow?.flashFrame(false);
|
||||
focusHandlerAttached = false;
|
||||
});
|
||||
focusHandlerAttached = true;
|
||||
|
||||
Reference in New Issue
Block a user