mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-15 07:56:11 +08:00
Add the concept of Folder Settings
This contains the default editor / view / sortingMode / etc. For now the folder settings are shared among all Folders. But the idea is that we should be able to set different settings per folder (real or virtual)
This commit is contained in:
@ -79,10 +79,7 @@ class StateContainer with ChangeNotifier {
|
||||
Future<void> _loadNotes() async {
|
||||
// FIXME: We should report the notes that failed to load
|
||||
await appState.notesFolder.loadRecursively();
|
||||
await _notesCache.buildCache(
|
||||
appState.notesFolder,
|
||||
Settings.instance.sortingMode,
|
||||
);
|
||||
await _notesCache.buildCache(appState.notesFolder);
|
||||
}
|
||||
|
||||
Future<void> syncNotes({bool doNotThrow = false}) async {
|
||||
|
Reference in New Issue
Block a user