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

Android: Fix issue with note not saved when created via sharing (#4604)

This commit is contained in:
Roman Musin 2021-03-10 19:20:40 +00:00 committed by GitHub
parent 01a9e49458
commit ec99511397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -556,8 +556,6 @@ async function initialize(dispatch: Function) {
folderId: folder.id,
});
}
setUpQuickActions(dispatch, folderId);
} catch (error) {
alert(`Initialization error: ${error.message}`);
reg.logger().error('Initialization error:', error);
@ -675,6 +673,8 @@ class AppComponent extends React.Component {
reg.logger().info('Cannot handle share - default folder id is not set');
}
}
setUpQuickActions(this.props.dispatch, this.props.selectedFolderId);
}
componentWillUnmount() {