diff --git a/lib/services/local_notification.dart b/lib/services/local_notification.dart index d22cd89..7605061 100644 --- a/lib/services/local_notification.dart +++ b/lib/services/local_notification.dart @@ -81,7 +81,7 @@ class LocalNotification { scheduledDate = await tz.TZDateTime.from( DateTime.fromMillisecondsSinceEpoch(beacon.startsAt!), tz.local, - ).subtract(Duration(hours: 1)); + ); await flutterLocalNotificationsPlugin.zonedSchedule( beacon.id.hashCode, 'Reminder: ' + beacon.title! + ' will start in an hour',