You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-30 23:44:55 +02:00
Android: Reverted app to singleTop launch mode and fixed potential crash when sharing with app
This commit is contained in:
@ -407,7 +407,9 @@ class NoteScreenComponent extends BaseScreenComponent {
|
||||
|
||||
this.saveActionQueue(this.state.note.id).processAllNow();
|
||||
|
||||
this.undoRedoService_.off('stackChange', this.undoRedoService_stackChange);
|
||||
// It cannot theoretically be undefined, since componentDidMount should always be called before
|
||||
// componentWillUnmount, but with React Native the impossible often becomes possible.
|
||||
if (this.undoRedoService_) this.undoRedoService_.off('stackChange', this.undoRedoService_stackChange);
|
||||
}
|
||||
|
||||
title_changeText(text) {
|
||||
|
Reference in New Issue
Block a user