Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/neon/neon_notes/lib/widgets/category_select.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class NotesCategorySelect extends StatelessWidget {
categories.sort();

// After sorting the empty category '' should be at the first place
if (!categories.first.isNotEmpty) {
if (categories.isNotEmpty && !categories.first.isNotEmpty) {
categories.insert(0, '');
}
}
Expand Down