From d8847ef572d2adba9a9544c21c099967cff59e37 Mon Sep 17 00:00:00 2001 From: Neeraj Gupta <254676+ua741@users.noreply.github.com> Date: Tue, 3 Jan 2023 14:06:45 +0530 Subject: [PATCH] Show delete empty album option if there are more than three empty albums --- lib/ui/collections_gallery_widget.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/collections_gallery_widget.dart b/lib/ui/collections_gallery_widget.dart index 2ada91c72..861fe7fc2 100644 --- a/lib/ui/collections_gallery_widget.dart +++ b/lib/ui/collections_gallery_widget.dart @@ -124,7 +124,7 @@ class _CollectionsGalleryWidgetState extends State List? 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!