minor fix

This commit is contained in:
ashilkn 2022-11-21 16:54:37 +05:30
parent ca58f38fa3
commit 3d0c24f23c

View file

@ -193,7 +193,7 @@ class _LazyLoadingGalleryState extends State<LazyLoadingGallery> {
ValueListenableBuilder(
valueListenable: _showSelectAllButton,
builder: (context, value, _) {
return widget.selectedFiles.files.isEmpty
return !value
? const SizedBox.shrink()
: GestureDetector(
behavior: HitTestBehavior.translucent,