From 136cda5215ae1d44dcd898e8e8e0b1e1912b3a41 Mon Sep 17 00:00:00 2001 From: Jagandeep Brar Date: Thu, 8 Sep 2022 10:00:33 -0400 Subject: [PATCH] fix(settings): show notification settings area on web --- lib/firebase/messaging.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/firebase/messaging.dart b/lib/firebase/messaging.dart index 6541839a..499926c6 100644 --- a/lib/firebase/messaging.dart +++ b/lib/firebase/messaging.dart @@ -2,14 +2,13 @@ import 'package:firebase_messaging/firebase_messaging.dart'; import 'package:lunasea/core.dart'; import 'package:lunasea/utils/profile_tools.dart'; import 'package:lunasea/firebase/core.dart'; -import 'package:lunasea/system/platform.dart'; class LunaFirebaseMessaging { static const _VAPID_KEY = 'BGCP2BO8JOTuvagaYl41btXiiC_XszsGCDduq6C-escc4xb2UMglX3RDojCY1YuGMAx2lXGVF-VYmTN3LQGvhYc'; static bool get isSupported { - if (LunaFirebase.isSupported && !LunaPlatform.isWeb) return true; + if (LunaFirebase.isSupported) return true; return false; }