Skip to content

Commit

Permalink
#868 - make Bean link copy able again
Browse files Browse the repository at this point in the history
  • Loading branch information
graphefruit committed Jan 2, 2025
1 parent b3ae6e8 commit c3c6ab5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/services/shareService/share-service.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class ShareService {
private readonly uiAnalytics: UIAnalytics,
private readonly uiFileHelper: UIFileHelper,
private readonly platform: Platform,
private readonly uiLog: UILog
private readonly uiLog: UILog,
) {}

public async shareImage(_dataUrl: string) {
Expand All @@ -60,12 +60,12 @@ export class ShareService {
/** We need to save the file before we can share, because base64 share is not supported**/
path = await this.uiFileHelper.writeExternalFileFromBase64ForSharing(
_dataUrl,
'sharefile' + extensionEnding
'sharefile' + extensionEnding,
);
} else {
path = await this.uiFileHelper.writeInternalFileFromBase64(
_dataUrl,
'sharefile' + extensionEnding
'sharefile' + extensionEnding,
);
}

Expand Down Expand Up @@ -139,13 +139,13 @@ export class ShareService {
this.uiLog.debug(beanMessage);
this.uiAnalytics.trackEvent(
BEAN_TRACKING.TITLE,
BEAN_TRACKING.ACTIONS.SHARE
BEAN_TRACKING.ACTIONS.SHARE,
);
try {
await Share.share({
title: '',
text: '',
url: beanMessage,
text: beanMessage,
url: '',
dialogTitle: 'Share',
});
} catch (ex) {}
Expand Down

0 comments on commit c3c6ab5

Please sign in to comment.