Show fav collection is shared

This commit is contained in:
Neeraj Gupta 2022-11-21 16:17:47 +05:30
parent ca58f38fa3
commit 17c7341508
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -102,7 +102,11 @@ class _CollectionsGalleryWidgetState extends State<CollectionsGalleryWidget>
}
},
);
result.matched.removeWhere((element) => element.thumbnail == null);
result.matched.removeWhere(
(element) =>
element.thumbnail == null ||
(element.collection.publicURLs?.isNotEmpty ?? false),
);
return result.matched + result.unmatched;
}