Remove desktop notifications

This commit is contained in:
problematicconsumer
2023-08-23 13:01:52 +03:30
parent dfe8bbcbbb
commit 8290ded8e3

View File

@@ -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());