Skip to content

Commit

Permalink
Update local_notification.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
vkprogrammer-001 authored Feb 17, 2024
1 parent b9059f1 commit 33969cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/services/local_notification.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 33969cf

Please sign in to comment.