mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
Fix shared photos wrongly filtered out in collection browser
This commit is contained in:
parent
018306fa3a
commit
9dd4c61c8c
1 changed files with 6 additions and 1 deletions
|
@ -527,7 +527,12 @@ class _Bloc extends Bloc<_Event, _State>
|
|||
}
|
||||
final results = rawItems.where((e) {
|
||||
if (e is CollectionFileItem) {
|
||||
return whitelist.contains(e.file.fdId);
|
||||
if (file_util.isNcAlbumFile(account, e.file)) {
|
||||
// file shared with us are not in our db
|
||||
return true;
|
||||
} else {
|
||||
return whitelist.contains(e.file.fdId);
|
||||
}
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue