1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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