mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 18:38:36 +08:00
Fix reset bug
This commit is contained in:
@ -46,7 +46,7 @@ class NotesFolderFS with NotesFolderNotifier implements NotesFolder {
|
||||
var notesCopy = List<Note>.from(_notes);
|
||||
notesCopy.forEach(remove);
|
||||
|
||||
var foldersCopy = List<NotesFolder>.from(_folders);
|
||||
var foldersCopy = List<NotesFolderFS>.from(_folders);
|
||||
foldersCopy.forEach(removeFolder);
|
||||
|
||||
assert(_notes.isEmpty);
|
||||
|
Reference in New Issue
Block a user