1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-30 10:36:35 +02:00

Mobile: Fixes #8211: Do not log data shared with the app (#8495)

This commit is contained in:
Henry Heino 2023-07-18 06:46:43 -07:00 committed by GitHub
parent bb9e970f8f
commit 3c2f193714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -932,8 +932,6 @@ class AppComponent extends React.Component {
private async handleShareData() {
const sharedData = await ShareExtension.data();
logger.info('Sharing: handleShareData:', sharedData);
if (sharedData) {
reg.logger().info('Received shared data');
if (this.props.selectedFolderId) {
@ -942,6 +940,8 @@ class AppComponent extends React.Component {
} else {
reg.logger().info('Cannot handle share - default folder id is not set');
}
} else {
logger.info('Sharing: received empty share data.');
}
}