Skip to content

Commit

Permalink
SDA-4717 Update event
Browse files Browse the repository at this point in the history
  • Loading branch information
KiranNiranjan committed Oct 25, 2024
1 parent 24a822f commit e4c4824
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions src/app/window-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -559,10 +559,6 @@ export class WindowHandler {
});
});

this.mainWindow.once('ready-to-show', (event: Event) => {
logger.info(`window-handler: Main Window ready to show: ${event}`);
});

this.mainWebContents.on(
'did-fail-load',
(_, errorCode: number, errorDescription: string) => {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class Notification extends NotificationHandler {

// This is a workaround to fix an issue with electron framework
// https://github.com/electron/electron/issues/611
notificationWindow.on('resize', (event) => {
notificationWindow.on('will-resize', (event) => {
event.preventDefault();
});

Expand Down

0 comments on commit e4c4824

Please sign in to comment.