mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-26 00:29:20 +08:00
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:
@ -106,6 +106,8 @@ class NotesFolder
|
||||
}
|
||||
|
||||
List<NotesFolder> getFolders() {
|
||||
// FIXME: This is really not ideal
|
||||
_folders.sort();
|
||||
return _folders;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user