Skip to content

Commit

Permalink
feat: hide suggestions section when empty
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasn committed Mar 4, 2025
1 parent 346fe32 commit 6d20b36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ChecklistSuggestionsWidget extends ConsumerWidget {
)
.valueOrNull;

if (checklistItems == null) {
if (checklistItems == null || checklistItems.isEmpty) {
return const SizedBox.shrink();
}

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.574+2906
version: 0.9.574+2907

msix_config:
display_name: LottiApp
Expand Down

0 comments on commit 6d20b36

Please sign in to comment.