diff --git a/lib/photo_sync_manager.dart b/lib/photo_sync_manager.dart index 10ffbe0df..399e485a6 100644 --- a/lib/photo_sync_manager.dart +++ b/lib/photo_sync_manager.dart @@ -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; } }