Fix shared photos wrongly filtered out in collection browser

This commit is contained in:
Ming Ming 2024-08-20 21:35:51 +08:00
parent 018306fa3a
commit 9dd4c61c8c

View file

@ -527,7 +527,12 @@ class _Bloc extends Bloc<_Event, _State>
}
final results = rawItems.where((e) {
if (e is CollectionFileItem) {
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;
}