From 8290ded8e3ab3a32dc6d34fbb37bfcbe6470937d Mon Sep 17 00:00:00 2001 From: problematicconsumer Date: Wed, 23 Aug 2023 13:01:52 +0330 Subject: [PATCH] Remove desktop notifications --- lib/services/notification/notification_service.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/services/notification/notification_service.dart b/lib/services/notification/notification_service.dart index 069bd3ca..7bda4d63 100644 --- a/lib/services/notification/notification_service.dart +++ b/lib/services/notification/notification_service.dart @@ -6,8 +6,8 @@ import 'package:hiddify/services/notification/stub_notification_service.dart'; abstract class NotificationService { factory NotificationService() { - // HACK temporarily return stub for linux as well - if (Platform.isWindows || Platform.isLinux) { + // HACK temporarily return stub for linux and mac as well + if (Platform.isWindows || Platform.isLinux || Platform.isMacOS) { return StubNotificationService(); } return LocalNotificationService(FlutterLocalNotificationsPlugin());