Skip to content
This repository was archived by the owner on Apr 3, 2025. It is now read-only.

Commit 136cda5

Browse files
committed
fix(settings): show notification settings area on web
1 parent 579531c commit 136cda5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/firebase/messaging.dart

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@ import 'package:firebase_messaging/firebase_messaging.dart';
22
import 'package:lunasea/core.dart';
33
import 'package:lunasea/utils/profile_tools.dart';
44
import 'package:lunasea/firebase/core.dart';
5-
import 'package:lunasea/system/platform.dart';
65

76
class LunaFirebaseMessaging {
87
static const _VAPID_KEY =
98
'BGCP2BO8JOTuvagaYl41btXiiC_XszsGCDduq6C-escc4xb2UMglX3RDojCY1YuGMAx2lXGVF-VYmTN3LQGvhYc';
109

1110
static bool get isSupported {
12-
if (LunaFirebase.isSupported && !LunaPlatform.isWeb) return true;
11+
if (LunaFirebase.isSupported) return true;
1312
return false;
1413
}
1514

0 commit comments

Comments
 (0)