1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Mobile: fix items shared to android not saved (#4607)

This commit is contained in:
Roman Musin
2021-03-11 14:31:39 +00:00
committed by GitHub
parent 7eb9305448
commit c4fe38e632

View File

@ -98,9 +98,9 @@ class NotesScreenComponent extends BaseScreenComponent {
}
async componentDidMount() {
BackButtonService.addHandler(this.backHandler);
await this.refreshNotes();
AppState.addEventListener('change', this.onAppStateChange_);
BackButtonService.addHandler(this.backHandler);
}
async componentWillUnmount() {