diff options
Diffstat (limited to 'gui/src')
| -rw-r--r-- | gui/src/main/index.ts | 1 | ||||
| -rw-r--r-- | gui/src/main/notification-controller.ts | 10 |
2 files changed, 0 insertions, 11 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts index c0dd326429..b8c49d6a21 100644 --- a/gui/src/main/index.ts +++ b/gui/src/main/index.ts @@ -583,7 +583,6 @@ class ApplicationMain { switch (event) { case 'too_many_keys': case 'generation_failure': - this.notificationController.notifyKeyGenerationFailed(); this.wireguardPublicKey = undefined; break; default: diff --git a/gui/src/main/notification-controller.ts b/gui/src/main/notification-controller.ts index 41aca7ffea..9c3cf2193c 100644 --- a/gui/src/main/notification-controller.ts +++ b/gui/src/main/notification-controller.ts @@ -160,16 +160,6 @@ export default class NotificationController { }); } - public notifyKeyGenerationFailed() { - const notification = new Notification({ - title: this.notificationTitle, - body: messages.pgettext('notifications', 'Wireguard key generation failed'), - silent: true, - icon: this.notificationIcon, - }); - this.scheduleNotification(notification); - } - public closeToExpiryNotification(accountExpiry: AccountExpiry) { const duration = accountExpiry.durationUntilExpiry(); const notification = new Notification({ |
