NotesFolder: sort the sub-folders

This really isn't a good way of doing this as now the folder
inserted/removed notifications will not be correct. But at least the
folders will be sorted.
This commit is contained in:
Vishesh Handa
2020-02-14 07:56:53 +01:00
parent f583d181c6
commit 39cc1bc0ce

View File

@ -106,6 +106,8 @@ class NotesFolder
} }
List<NotesFolder> getFolders() { List<NotesFolder> getFolders() {
// FIXME: This is really not ideal
_folders.sort();
return _folders; return _folders;
} }