Skip to content

Commit a62960f

Browse files
authored
Test fix
1 parent 439abb2 commit a62960f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/services/notes/notes_service.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ 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))).nonNulls,
112-
...(await (_richTextNotes.getAll(ids))).nonNulls,
113-
...(await (_checklistNotes.getAll(ids))).nonNulls,
111+
...?await (_plainTextNotes.getAll(ids)),
112+
...?await (_richTextNotes.getAll(ids)),
113+
...?await (_checklistNotes.getAll(ids)),
114114
];
115115

116116
/// Returns all the notes that are not deleted.

0 commit comments

Comments
 (0)