Skip to content

Commit 8a9c371

Browse files
committed
fix(notification): fix misupdate on last fetch notice time
Fixes #147
1 parent b0b0867 commit 8a9c371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/features/checkin/repository/auto_checkin_repository.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ final class AutoCheckinRepository with LoggerMixin {
143143
// If any login-user related operation acted, for example logout or switch
144144
// to another user, the current user below is unexpected behavior.
145145
// So it's better to make a lock when doing checkin.
146-
_storageProvider.updateLastFetchNoticeTime(userInfo.uid!, DateTime.now());
146+
_storageProvider.updateLastCheckinTime(userInfo.uid!, DateTime.now());
147147
_currentInfo = _currentInfo.copyWith(
148148
running: _currentInfo.running..removeWhere((e) => e == userInfo),
149149
succeeded: [..._currentInfo.succeeded, (userInfo, checkinResult)],

0 commit comments

Comments
 (0)