refactor: 重构提醒通知系统
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user