From 0a0e03a660f0a41cac3b30372fea6ac777140e30 Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Mon, 16 Mar 2020 19:40:08 +0100 Subject: [PATCH] Fix reset bug --- lib/core/notes_folder_fs.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/notes_folder_fs.dart b/lib/core/notes_folder_fs.dart index 2da8e328..adfec062 100644 --- a/lib/core/notes_folder_fs.dart +++ b/lib/core/notes_folder_fs.dart @@ -46,7 +46,7 @@ class NotesFolderFS with NotesFolderNotifier implements NotesFolder { var notesCopy = List.from(_notes); notesCopy.forEach(remove); - var foldersCopy = List.from(_folders); + var foldersCopy = List.from(_folders); foldersCopy.forEach(removeFolder); assert(_notes.isEmpty);