You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Saving/loading notes from Electron
This commit is contained in:
@ -40,7 +40,7 @@ shared.saveNoteButton_press = async function(comp) {
|
||||
note: note,
|
||||
});
|
||||
if (isNew) Note.updateGeolocation(note.id);
|
||||
shared.refreshNoteMetadata(comp);
|
||||
comp.refreshNoteMetadata();
|
||||
}
|
||||
|
||||
shared.saveOneProperty = async function(comp, name, value) {
|
||||
@ -111,7 +111,7 @@ shared.initState = async function(comp) {
|
||||
|
||||
shared.showMetadata_onPress = function(comp) {
|
||||
comp.setState({ showNoteMetadata: !comp.state.showNoteMetadata });
|
||||
shared.refreshNoteMetadata(comp, true);
|
||||
comp.refreshNoteMetadata(true);
|
||||
}
|
||||
|
||||
shared.toggleIsTodo_onPress = function(comp) {
|
||||
|
Reference in New Issue
Block a user