diff --git a/siro_rider/lib/main.dart b/siro_rider/lib/main.dart index 82a3d837..947ed5d9 100644 --- a/siro_rider/lib/main.dart +++ b/siro_rider/lib/main.dart @@ -110,7 +110,8 @@ Future backgroundMessageHandler(RemoteMessage message) async { } // عرض الإشعار المحلي عبر الكلاس المخصص - await NotificationController.showBackgroundNotification(title, body, 'ding'); + await NotificationController.showBackgroundNotification( + title, body, 'ding'); } } catch (e) { Log.print("Background local notification failed: $e"); @@ -118,6 +119,7 @@ Future backgroundMessageHandler(RemoteMessage message) async { } } +// void main() { // Use runZonedGuarded to catch all unhandled exceptions in the app. runZonedGuarded>(() async {