Improve follow updates. Close #235

This commit is contained in:
2025-03-04 19:30:24 +08:00
parent d089163220
commit 4828a57e1a

View File

@@ -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();
});
}