refactor: 重构提醒通知系统

This commit is contained in:
zl-q
2026-04-01 00:42:34 +08:00
parent 9a231dae9e
commit 6722f3d74b
21 changed files with 375 additions and 171 deletions
+1 -1
View File
@@ -64,8 +64,8 @@ class _LinksyAppState extends State<LinksyApp> {
Future<void> _bootstrapReminderNotification() async {
await sl<ReminderPermissionService>().initializeAtBoot();
final router = sl<ReminderNotificationRouter>();
await router.start();
_reminderTapSubscription ??= router.taps.listen(_onReminderTap);
await router.start();
}
void _onReminderTap(ReminderNotificationTap tap) {