mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-22 16:56:19 +01:00
Fix filtered items added to date time group
This commit is contained in:
parent
45902a1ee8
commit
2bce369e66
1 changed files with 2 additions and 3 deletions
|
@ -128,11 +128,10 @@ class _PhotoListItemBuilder {
|
|||
final listItems = <SelectableItem>[];
|
||||
for (int i = 0; i < files.length; ++i) {
|
||||
final f = files[i];
|
||||
grouper?.onFile(f)?.run((item) => listItems.add(item));
|
||||
memoryAlbumHelper?.addFile(f);
|
||||
|
||||
final item = _buildListItem(i, account, f);
|
||||
if (item != null) {
|
||||
grouper?.onFile(f)?.run((item) => listItems.add(item));
|
||||
memoryAlbumHelper?.addFile(f);
|
||||
listItems.add(item);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue