From 13e6a71d2ffb21738fd21d5ecff6f714883ac68f Mon Sep 17 00:00:00 2001 From: Leon Date: Thu, 12 Feb 2026 12:01:12 +0100 Subject: [PATCH] feat: share modal --- .gitignore | 2 ++ src/data/index.js | 2 +- src/utils/shareSheet.js | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index fcd3f6d..1586d67 100644 --- a/.gitignore +++ b/.gitignore @@ -20,6 +20,7 @@ android/ # OSX # .DS_Store +.sh *.apk # Xcode # @@ -76,3 +77,4 @@ web-build/ dist/ # @end expo-cli +*.sh diff --git a/src/data/index.js b/src/data/index.js index a5ca6e6..7bcc6e2 100644 --- a/src/data/index.js +++ b/src/data/index.js @@ -16,6 +16,6 @@ export const algoliaAppUrl = 'https://dashboard.algolia.com/apps' export const musiclandProductionBaseUrl = 'https://musicland-one.vercel.app' export const musiclandShareUrl = musiclandProductionBaseUrl -export const musiclandShareHeading = "Partagez l'expérience MusicLand" +export const musiclandShareHeading = 'Partage Musicland avec tes amis' export const musiclandShareMessage = 'Invite tes proches a decouvrir MusicLand et cree des experiences musicales ensemble.' diff --git a/src/utils/shareSheet.js b/src/utils/shareSheet.js index 8476630..956f45f 100644 --- a/src/utils/shareSheet.js +++ b/src/utils/shareSheet.js @@ -115,7 +115,7 @@ export const createMusicSharePayload = ({ projectId, title, artist } = {}) => { } return { - heading: 'Partager le morceau', + heading: musiclandShareHeading, shareTitle: title ? `${title} - MusicLand` : 'MusicLand', shareMessage, url: shareUrl, @@ -152,7 +152,7 @@ export const createPlaybackSharePayload = ({ projectId, title, artist, playbackU } return { - heading: 'Partager le playback', + heading: musiclandShareHeading, shareTitle: title ? `${title} - MusicLand` : 'MusicLand', shareMessage, url: shareUrl,