Skip to content

Commit

Permalink
fix: used filtered list
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberk1ng committed Feb 24, 2025
1 parent 48464f5 commit 49c3bc9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,13 @@ class CategorySelectionModalContentState
)
.toList();

final favoriteCategories =
categories.where((category) => category.favorite ?? false).toList();
final favoriteCategories = filteredCategories
.where((category) => category.favorite ?? false)
.toList();

final otherCategories =
categories.where((category) => !(category.favorite ?? false)).toList();
final otherCategories = filteredCategories
.where((category) => !(category.favorite ?? false))
.toList();

return Column(
mainAxisSize: MainAxisSize.min,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: lotti
description: Achieve your goals and keep your data private with Lotti.
publish_to: 'none'
version: 0.9.571+2894
version: 0.9.571+2895

msix_config:
display_name: LottiApp
Expand Down

0 comments on commit 49c3bc9

Please sign in to comment.