Skip to content

Commit

Permalink
Merge pull request #176 from olech2412/171-share-button-in-mealplan-view
Browse files Browse the repository at this point in the history
171 share button in mealplan view
  • Loading branch information
olech2412 authored Sep 11, 2024
2 parents 8f64624 + 194e288 commit e8068d6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ private static Button getShareButton() {
"url.searchParams.delete('userCode');" + // Entfernt den userCode-Parameter aus der URL
"const shareData = { " +
" title: document.title, " +
" text: 'Schau dir den Speiseplan auf MensaHub an!', " +
" text: 'Schau dir den Speiseplan auf MensaHub an!\n', " +
" url: url.toString() " + // Aktualisierte URL ohne userCode
"}; " +
"navigator.share(shareData)" +
Expand Down

0 comments on commit e8068d6

Please sign in to comment.