From 4828a57e1a6b3a412db89175407bb3b1a2b46e0c Mon Sep 17 00:00:00 2001 From: nyne Date: Tue, 4 Mar 2025 19:30:24 +0800 Subject: [PATCH] Improve follow updates. Close #235 --- lib/pages/follow_updates_page.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/pages/follow_updates_page.dart b/lib/pages/follow_updates_page.dart index 7b56868..0633f49 100644 --- a/lib/pages/follow_updates_page.dart +++ b/lib/pages/follow_updates_page.dart @@ -703,8 +703,9 @@ abstract class FollowUpdatesService { if (_isInitialized) return; _isInitialized = true; _check(); + DataSync().addListener(updateFollowUpdatesUI); // A short interval will not affect the performance since every comic has a check time. - Timer.periodic(const Duration(minutes: 5), (timer) { + Timer.periodic(const Duration(minutes: 10), (timer) { _check(); }); }