diff --git a/src/components/Avatars/SubscriptionAvatar.js b/src/components/Avatars/SubscriptionAvatar.js
deleted file mode 100644
index fc51a80..0000000
--- a/src/components/Avatars/SubscriptionAvatar.js
+++ /dev/null
@@ -1,16 +0,0 @@
-import { Image, View } from 'react-native'
-import { subBadges } from '../../assets'
-export default function SubscriptionAvatar({ user }) {
- const subscriptionLevel = user.premiumLevel
-
- switch (subscriptionLevel) {
- case 'starter':
- return
- case 'pro':
- return
- case 'premium':
- return
- default:
- return null
- }
-}
diff --git a/src/components/modal/ValidateModal.js b/src/components/modal/ValidateModal.js
index fe0afd3..3721012 100644
--- a/src/components/modal/ValidateModal.js
+++ b/src/components/modal/ValidateModal.js
@@ -12,7 +12,7 @@ const ValidateModal = ({
onPressValidate,
onPressSecondary,
title = 'Attention !',
- description = 'Lorsque tu clique sur valider, tu ne pourra plus changer ni le texte ni la mélodie.',
+ description = 'Lorsque tu cliques sur valider, tu ne pourras plus changer ni le texte ni la mélodie.',
primaryLabel = 'Valider',
secondaryLabel = 'Retour',
}) => {
diff --git a/src/screens/Studio/SongReady.js b/src/screens/Studio/SongReady.js
index 04d2b89..444bd1f 100644
--- a/src/screens/Studio/SongReady.js
+++ b/src/screens/Studio/SongReady.js
@@ -21,7 +21,7 @@ import GradientButton from '../../components/GradientButton'
import ValidateModal from '../../components/modal/ValidateModal'
import MusicLandHeader from '../../components/MusicLandHeader'
import ProgressSlider from '../../components/player/ProgressSlider'
-import { isWeb } from '../../hooks/useLayoutType'
+import { isDesktopWeb, isWeb } from '../../hooks/useLayoutType'
import Page from '../../layouts/Page'
import { Routes } from '../../navigation'
import { navigate, reset } from '../../navigation/NavigationService'
@@ -100,8 +100,8 @@ const SongReady = () => {
useEffect(() => {
const urls = Array.isArray(selectedProject?.musicUrls)
? selectedProject.musicUrls
- .filter((url) => typeof url === 'string' && url.trim())
- .map((url) => url.trim())
+ .filter((url) => typeof url === 'string' && url.trim())
+ .map((url) => url.trim())
: []
setMusicUrls(urls)
setSelectedIndex((prev) => {
@@ -164,7 +164,7 @@ const SongReady = () => {
if (isWeb) {
alert(
'Attention !',
- 'Lorsque tu clique sur valider, tu ne pourra plus changer ni le texte ni la mélodie.',
+ 'Lorsque tu cliques sur valider, tu ne pourras plus changer ni le texte ni la mélodie.',
[
{
text: 'Retour',
@@ -189,7 +189,7 @@ const SongReady = () => {
setShowRegenerateModal(false)
try {
await pauseAllPlayers()
- } catch {}
+ } catch { }
navigate(Routes.Lyrics)
}
@@ -262,7 +262,7 @@ const SongReady = () => {
onPressBack={async () => {
try {
await pauseAllPlayers()
- } catch {}
+ } catch { }
navigate(Routes.Home)
}}
progress={63}
@@ -272,7 +272,7 @@ const SongReady = () => {
title="Ta chanson est prête !"
subTitle="Choisis ton morceau"
containerStyle={{
- marginBottom: responsiveHeight(2),
+ marginBottom: !isDesktopWeb ? responsiveHeight(2) : responsiveHeight(22),
}}
/>