diff --git a/lib/main.dart b/lib/main.dart index 848b54a..fc73eac 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -26,9 +26,6 @@ void stopAlarm() { service.invoke("stopAlarm"); final FlutterLocalNotificationsPlugin flutterLocalNotificationsPlugin = FlutterLocalNotificationsPlugin(); - - flutterLocalNotificationsPlugin.cancelAll(); - // Rebuild UI restartApp(); } @@ -73,7 +70,6 @@ Future initializeService() async { void onDidReceiveNotificationResponse( NotificationResponse notificationResponse) async { - stopAlarm(); print("Clicked on notification"); }