Skip to content

Commit

Permalink
fix: set isAnythingSelected after moving/deleting
Browse files Browse the repository at this point in the history
  • Loading branch information
ZebraVogel94349 authored and adil192 committed Dec 24, 2023
1 parent 18310ab commit e13abfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/components/home/masonry_files.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class _MasonryFilesState extends State<MasonryFiles> {

@override
Widget build(BuildContext context) {
isAnythingSelected.value = widget.selectedFiles.value.isNotEmpty;
/// List of file paths with ads inserted every [itemsBeforeAd] items
/// (ads are represented by null).
final List<String?> files = List.from(widget.files);
Expand Down

0 comments on commit e13abfa

Please # to comment.