diff options
Diffstat (limited to 'gui/src/shared')
4 files changed, 5 insertions, 4 deletions
diff --git a/gui/src/shared/notifications/inconsistent-version.ts b/gui/src/shared/notifications/inconsistent-version.ts index f6f3cf4166..f4a5616c43 100644 --- a/gui/src/shared/notifications/inconsistent-version.ts +++ b/gui/src/shared/notifications/inconsistent-version.ts @@ -21,7 +21,7 @@ export class InconsistentVersionNotificationProvider public getSystemNotification(): SystemNotification { return { message: messages.pgettext('notifications', 'App is out of sync. Please quit and restart.'), - category: SystemNotificationCategory.version, + category: SystemNotificationCategory.inconsistentVersion, severity: SystemNotificationSeverityType.high, presentOnce: { value: true, name: this.constructor.name }, suppressInDevelopment: true, diff --git a/gui/src/shared/notifications/notification.ts b/gui/src/shared/notifications/notification.ts index 2fd0a47a37..10b5b21fc8 100644 --- a/gui/src/shared/notifications/notification.ts +++ b/gui/src/shared/notifications/notification.ts @@ -17,7 +17,8 @@ export enum SystemNotificationSeverityType { export enum SystemNotificationCategory { tunnelState, expiry, - version, + newVersion, + inconsistentVersion, } interface NotificationProvider { diff --git a/gui/src/shared/notifications/unsupported-version.ts b/gui/src/shared/notifications/unsupported-version.ts index 6c9c380595..8c2f87460b 100644 --- a/gui/src/shared/notifications/unsupported-version.ts +++ b/gui/src/shared/notifications/unsupported-version.ts @@ -27,7 +27,7 @@ export class UnsupportedVersionNotificationProvider public getSystemNotification(): SystemNotification { return { message: this.getMessage(), - category: SystemNotificationCategory.version, + category: SystemNotificationCategory.newVersion, severity: SystemNotificationSeverityType.high, action: { type: 'open-url', diff --git a/gui/src/shared/notifications/update-available.ts b/gui/src/shared/notifications/update-available.ts index 8e6bd7e76e..0394ef15a5 100644 --- a/gui/src/shared/notifications/update-available.ts +++ b/gui/src/shared/notifications/update-available.ts @@ -41,7 +41,7 @@ export class UpdateAvailableNotificationProvider public getSystemNotification(): SystemNotification { return { message: this.systemMessage(), - category: SystemNotificationCategory.version, + category: SystemNotificationCategory.newVersion, severity: SystemNotificationSeverityType.medium, action: { type: 'open-url', |
