mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-03-26 08:54:42 +01:00
Fix removed files reappeared in photos timeline
This commit is contained in:
parent
bf71411709
commit
bbeb8a3852
1 changed files with 1 additions and 0 deletions
|
@ -551,6 +551,7 @@ class _Bloc extends Bloc<_Event, _State> with BlocLogger {
|
|||
final missingDates = state.visibleDates
|
||||
.map((e) => e.date)
|
||||
.whereNot((d) => queriedDates!.contains(d))
|
||||
.where((d) => state.filesSummary.items.containsKey(d))
|
||||
.toSet();
|
||||
if (missingDates.isNotEmpty) {
|
||||
_requestFilesFrom(missingDates.sortedBySelf().last);
|
||||
|
|
Loading…
Add table
Reference in a new issue