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:
@ -341,4 +341,14 @@ class NotesFolderFS with NotesFolderNotifier implements NotesFolder {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@override
|
||||
NotesFolderConfig get config {
|
||||
return NotesFolderConfig.fromSettings();
|
||||
}
|
||||
|
||||
@override
|
||||
set config(NotesFolderConfig conf) {
|
||||
conf.save();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user