diff options
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/src/renderer/components/NotificationArea.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/src/renderer/components/NotificationArea.tsx b/gui/src/renderer/components/NotificationArea.tsx index c087d9984a..2c2de14b35 100644 --- a/gui/src/renderer/components/NotificationArea.tsx +++ b/gui/src/renderer/components/NotificationArea.tsx @@ -53,7 +53,6 @@ export default function NotificationArea(props: IProps) { new NoValidKeyNotificationProvider({ tunnelProtocol, wireGuardKey }), new InconsistentVersionNotificationProvider({ consistent: version.consistent }), new UnsupportedVersionNotificationProvider(version), - new UpdateAvailableNotificationProvider(version), ]; if (accountExpiry) { @@ -62,6 +61,8 @@ export default function NotificationArea(props: IProps) { ); } + notificationProviders.push(new UpdateAvailableNotificationProvider(version)); + const notificationProvider = notificationProviders.find((notification) => notification.mayDisplay(), ); |
