fix(bugs): update mapStyle when change theme
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
// ignore_for_file: use_build_context_synchronously
|
||||
|
||||
import 'dart:developer' as dev;
|
||||
import 'dart:math' as math;
|
||||
import 'package:firebase_messaging/firebase_messaging.dart';
|
||||
@@ -90,8 +92,7 @@ class NotificationServices {
|
||||
RemoteMessage? initialMessage =
|
||||
await FirebaseMessaging.instance.getInitialMessage();
|
||||
if (initialMessage != null) {
|
||||
// showNotification(initialMessage);
|
||||
// ignore: use_build_context_synchronously
|
||||
// showNotification(initialMessage)
|
||||
handleMessage(context, initialMessage);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user