Show delete empty album option if there are more than three empty albums
This commit is contained in:
parent
bfe09f5436
commit
d8847ef572
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class _CollectionsGalleryWidgetState extends State<CollectionsGalleryWidget>
|
|||
List<CollectionWithThumbnail>? collections,
|
||||
) {
|
||||
final bool showDeleteAlbumsButton =
|
||||
collections!.where((c) => c.thumbnail == null).length > 4;
|
||||
collections!.where((c) => c.thumbnail == null).length >= 3;
|
||||
final TextStyle trashAndHiddenTextStyle = Theme.of(context)
|
||||
.textTheme
|
||||
.subtitle1!
|
||||
|
|
Loading…
Add table
Reference in a new issue