mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-09-18 09:22:47 +08:00
Add a .gitjournal.yaml file in a folder
This file will be added to save the settings of how we want that folder to behave. For example - default Editor, view, sorting mode, etc. This feature is currently disabled as it will only be a part of the pro mode.
This commit is contained in:
@ -35,12 +35,12 @@ class VirtualNotesFolder with NotesFolderNotifier implements NotesFolder {
|
||||
|
||||
@override
|
||||
NotesFolderConfig get config {
|
||||
return NotesFolderConfig.fromSettings();
|
||||
return NotesFolderConfig.fromSettings(fsFolder);
|
||||
}
|
||||
|
||||
@override
|
||||
set config(NotesFolderConfig conf) {
|
||||
assert(false, "A Virtual Notes Folder Config cannot change");
|
||||
conf.save();
|
||||
conf.saveToSettings();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user