feat: remove subscription modale
This commit is contained in:
@@ -36,6 +36,7 @@ import { toDate } from '../../utils/dateFormatting'
|
||||
import FullscreenIntroVideo from '../../components/FullscreenIntroVideo'
|
||||
import AdventureChoiceModal from './components/AdventureChoiceModal'
|
||||
import ShareAndCreditsModal from './components/ShareAndCreditsModal'
|
||||
import { musiclandShareHeading } from '../../data'
|
||||
|
||||
const SongDownload = ({ route }) => {
|
||||
const {
|
||||
@@ -408,7 +409,7 @@ const SongDownload = ({ route }) => {
|
||||
try {
|
||||
await Sharing.shareAsync(downloadResult.uri, {
|
||||
mimeType: 'audio/mpeg',
|
||||
dialogTitle: 'Enregistrer la musique',
|
||||
dialogTitle: musiclandShareHeading,
|
||||
})
|
||||
} catch (error) {
|
||||
console.log('[SongDownload] share error', error?.message)
|
||||
|
||||
@@ -24,6 +24,7 @@ import { subBadges, icons } from '../../../assets'
|
||||
import { isWeb } from '../../../hooks/useLayoutType'
|
||||
import { navigate } from '../../../navigation/NavigationService'
|
||||
import { Routes } from '../../../navigation'
|
||||
import { musiclandShareHeading } from '../../../data'
|
||||
|
||||
// --- HELPER FUNCTIONS & CONSTANTS (Copied from Subscriptions.js) ---
|
||||
|
||||
@@ -348,7 +349,7 @@ const ShareAndCreditsModal = ({
|
||||
})
|
||||
} else if (platform === 'instagram' || platform === 'tiktok') {
|
||||
if (await Sharing.isAvailableAsync()) {
|
||||
await Sharing.shareAsync(shareUrl, { dialogTitle: 'Partager ma musique' })
|
||||
await Sharing.shareAsync(shareUrl, { dialogTitle: musiclandShareHeading })
|
||||
} else {
|
||||
Linking.openURL(shareUrl)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user