mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-08-26 02:30:00 +08:00
Add some FIXMEs
This commit is contained in:
@ -125,6 +125,7 @@ class Note with ChangeNotifier implements Comparable<Note> {
|
||||
return _loadState;
|
||||
}
|
||||
|
||||
// FIXME: This could throw an exception!
|
||||
final string = await file.readAsString();
|
||||
data = _serializer.decode(string);
|
||||
|
||||
|
@ -96,6 +96,7 @@ class NotesFolder with ChangeNotifier implements Comparable<NotesFolder> {
|
||||
|
||||
// FIXME: This asynchronously loads everything. Maybe it should just list them, and the individual _entities
|
||||
// should be loaded as required?
|
||||
// FIXME: This loads everything in one go. In some cases there can be too many files open and we hit the limit.
|
||||
Future<void> loadRecursively() async {
|
||||
await load();
|
||||
_entities.forEach((e) {
|
||||
|
Reference in New Issue
Block a user