diff --git a/lib/main.dart b/lib/main.dart index 36efb6c..16aa6f2 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1,12 +1,13 @@ import 'package:flutter/material.dart'; import 'package:smoke_cess_app/pages/main_page.dart'; import 'package:smoke_cess_app/service/notification_service.dart'; +import 'package:timezone/data/latest.dart' as tz; void main() { // to ensure all the widgets are initialized. WidgetsFlutterBinding.ensureInitialized(); - // to initialize the notificationservice. + tz.initializeTimeZones(); NotificationService().initNotification(); runApp(const MyApp()); }