We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28dce64 commit 265d447Copy full SHA for 265d447
src/app/shared/ui/viewer/components/viewer-header/viewer-header.component.html
@@ -34,6 +34,8 @@
34
<button class="button small" (click)="domMan.copyToClipboard(iframe())">Copy</button>
35
</div>
36
</details>
37
+
38
+ <button class="button small" (click)="shareWith()">Share with...</button>
39
40
</app-dialog>
41
src/app/shared/ui/viewer/components/viewer-header/viewer-header.component.ts
@@ -84,4 +84,12 @@ export class ViewerHeaderComponent {
84
genId(): string {
85
return Base64.toBase64(JSON.stringify(this.currentPlaylistItem))
86
}
87
88
+ shareWith() {
89
+ const shareData = {
90
+ title: this.episode?.title,
91
+ url: this.link(),
92
+ };
93
+ navigator?.share(shareData)
94
+ }
95
0 commit comments