diff --git a/src/screens/Production/SongDownloaded.js b/src/screens/Production/SongDownloaded.js index cabb660..72acb6d 100644 --- a/src/screens/Production/SongDownloaded.js +++ b/src/screens/Production/SongDownloaded.js @@ -1,18 +1,18 @@ -import { View, Text, Image } from "react-native"; -import React from "react"; -import Page from "../../layouts/Page"; -import { background, img } from "../../assets"; -import { goBack, navigate } from "../../navigation/NavigationService"; -import MusicLandHeader from "../../components/MusicLandHeader"; -import CreateLyricsHeader from "../Writing/components/CreateLyricsHeader"; -import { size } from "../../styles/Style"; -import BorderGradientButton from "../../components/BorderGradientButton"; -import GradientButton from "../../components/GradientButton"; -import { responsiveHeight } from "react-native-responsive-dimensions"; -import { Palette } from "../../styles"; -import { FONT_FAMILY } from "../../styles/Fonts"; -import { Routes } from "../../navigation"; -import { useRoute } from "@react-navigation/native"; +import { View, Text, Image } from 'react-native'; +import React from 'react'; +import Page from '../../layouts/Page'; +import { background, img } from '../../assets'; +import { goBack, navigate } from '../../navigation/NavigationService'; +import MusicLandHeader from '../../components/MusicLandHeader'; +import CreateLyricsHeader from '../Writing/components/CreateLyricsHeader'; +import { size } from '../../styles/Style'; +import BorderGradientButton from '../../components/BorderGradientButton'; +import GradientButton from '../../components/GradientButton'; +import { responsiveHeight } from 'react-native-responsive-dimensions'; +import { Palette } from '../../styles'; +import { FONT_FAMILY } from '../../styles/Fonts'; +import { Routes } from '../../navigation'; +import { useRoute } from '@react-navigation/native'; const SongDownloaded = () => { const params = useRoute().params; @@ -21,26 +21,24 @@ const SongDownloaded = () => { return ( + headerType='NONE'> + }}> @@ -49,19 +47,17 @@ const SongDownloaded = () => { fontSize: 22, color: Palette.white, fontFamily: FONT_FAMILY.InterSemiBold, - textAlign: "center", - }} - > - {action === "playback" ? "Playback" : "Chanson"} téléchargée ! + textAlign: 'center', + }}> + {action === 'playback' ? 'Playback' : 'Chanson'} téléchargée ! - {action === "playback" ? "Ton Playback" : "Ta Chanson"} est + }}> + {action === 'playback' ? 'Ton Playback' : 'Ta Chanson'} est désormais téléchargée dans tes fichiers. N’hésite pas à la partager avec tes proches. @@ -71,17 +67,16 @@ const SongDownloaded = () => { marginTop: 26, gap: 12, paddingBottom: 12, - width: "80%", - alignSelf: "center", - }} - > + width: '80%', + alignSelf: 'center', + }}> navigate(Routes.Production)} /> navigate(Routes.Production)} + onPress={() => navigate(Routes.BottomTab)} />