mirror of https://github.com/laurent22/joplin.git
* latest changes merged * fixed linting syntaxpull/2845/head
parent
7b365194ba
commit
9749a2b9b7
|
@ -96,8 +96,10 @@ class NoteScreenComponent extends BaseScreenComponent {
|
|||
};
|
||||
|
||||
this.backHandler = async () => {
|
||||
const r = await saveDialog();
|
||||
if (r) return r;
|
||||
|
||||
if (this.isModified()) {
|
||||
await this.saveNoteButton_press();
|
||||
}
|
||||
|
||||
const isProvisionalNote = this.props.provisionalNoteIds.includes(this.props.noteId);
|
||||
|
||||
|
|
Loading…
Reference in New Issue