Remove desktop notifications
This commit is contained in:
@@ -6,8 +6,8 @@ import 'package:hiddify/services/notification/stub_notification_service.dart';
|
|||||||
|
|
||||||
abstract class NotificationService {
|
abstract class NotificationService {
|
||||||
factory NotificationService() {
|
factory NotificationService() {
|
||||||
// HACK temporarily return stub for linux as well
|
// HACK temporarily return stub for linux and mac as well
|
||||||
if (Platform.isWindows || Platform.isLinux) {
|
if (Platform.isWindows || Platform.isLinux || Platform.isMacOS) {
|
||||||
return StubNotificationService();
|
return StubNotificationService();
|
||||||
}
|
}
|
||||||
return LocalNotificationService(FlutterLocalNotificationsPlugin());
|
return LocalNotificationService(FlutterLocalNotificationsPlugin());
|
||||||
|
|||||||
Reference in New Issue
Block a user