blob: 50a62266d0322da4c647819adc212ce0e04fdce3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
import { messages } from '../../shared/gettext';
import {
SystemNotification,
SystemNotificationCategory,
SystemNotificationProvider,
SystemNotificationSeverityType,
} from './notification';
export class DaemonDisconnectedNotificationProvider implements SystemNotificationProvider {
public mayDisplay = () => true;
public getSystemNotification(): SystemNotification {
return {
message: messages.pgettext(
'notifications',
'Connection might be unsecured. App lost contact with system service, please troubleshoot.',
),
severity: SystemNotificationSeverityType.high,
category: SystemNotificationCategory.tunnelState,
};
}
}
|