Skip to content

Commit a8439c1

Browse files
committed
fix(notification): cross away the fetch time when auto sync
Shall be the same as the manual one.
1 parent 83c9a5a commit a8439c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/features/notification/bloc/auto_notification_cubit.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ final class AutoNotificationCubit extends Cubit<AutoNoticeState> with LoggerMixi
120120
if (lastFetchTimeEither.isRight()) {
121121
final t = lastFetchTimeEither.unwrap();
122122
if (t != null) {
123-
lastFetchTime = t.millisecondsSinceEpoch ~/ 1000;
123+
lastFetchTime = t.millisecondsSinceEpoch ~/ 1000 + 1;
124124
}
125125
}
126126
debug('auto fetch since $lastFetchTime');

0 commit comments

Comments
 (0)