Skip to content

Commit 37f662e

Browse files
authored
Test 2
1 parent a62960f commit 37f662e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/services/notes/notes_service.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ class NotesService {
108108

109109
/// Returns all the notes with the [ids].
110110
Future<List<Note>> getAllByIds(List<int> ids) async => [
111-
...?await (_plainTextNotes.getAll(ids)),
112-
...?await (_richTextNotes.getAll(ids)),
113-
...?await (_checklistNotes.getAll(ids)),
114-
];
111+
...await (_plainTextNotes.getAll(ids)),
112+
...await (_richTextNotes.getAll(ids)),
113+
...await (_checklistNotes.getAll(ids)),
114+
].nonNulls.toList();
115115

116116
/// Returns all the notes that are not deleted.
117117
Future<List<Note>> getAllNotDeleted() async => [

0 commit comments

Comments
 (0)