Fix issue in recursively fetching diff in photos
This commit is contained in:
parent
21a8fa8a41
commit
662692fbcf
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ class PhotoSyncManager {
|
|||
await _storeDiff(diff, prefs);
|
||||
PhotoRepository.instance.reloadPhotos();
|
||||
}
|
||||
if (diff.length < _diffLimit) {
|
||||
if (diff == null || diff.length < _diffLimit) {
|
||||
shouldFetchDiff = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue