diff --git a/boss_app2/lib/main.dart b/boss_app2/lib/main.dart index 9576274..625b6fd 100644 --- a/boss_app2/lib/main.dart +++ b/boss_app2/lib/main.dart @@ -8,11 +8,12 @@ import 'package:timezone/data/latest.dart' as tz; import 'controller/boss_controller.dart'; Future main() async { + WidgetsFlutterBinding.ensureInitialized(); tz.initializeTimeZones(); // final locationName = await FlutterNativeTimezone.getLocalTimezone(); // tz.setLocalLocation(tz.getLocation(locationName)); // tz.initializeTimeZones(); - // WidgetsFlutterBinding.ensureInitialized(); + // NotificationApi().initNotification(); runApp(const MyApp()); }