fix
This commit is contained in:
+1
-1
@@ -434,7 +434,7 @@ export const VOICE = [
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Sensibilité",
|
title: "SENSIBILITÉ",
|
||||||
data: [
|
data: [
|
||||||
"Voix séduisante et sensuelle.",
|
"Voix séduisante et sensuelle.",
|
||||||
"Voix profonde et résonnante.",
|
"Voix profonde et résonnante.",
|
||||||
|
|||||||
@@ -1,19 +1,19 @@
|
|||||||
import { View, Dimensions } from "react-native";
|
|
||||||
import React, { useMemo, useRef, useState } from "react";
|
import React, { useMemo, useRef, useState } from "react";
|
||||||
import Page from "../../layouts/Page";
|
import { Dimensions, View } from "react-native";
|
||||||
import { background } from "../../assets";
|
|
||||||
import MusicLandHeader from "../../components/MusicLandHeader";
|
|
||||||
import GradientButton from "../../components/GradientButton";
|
|
||||||
import { goBack, navigate } from "../../navigation/NavigationService";
|
|
||||||
import { gutters } from "../../styles";
|
|
||||||
import SwiperFlatList from "react-native-swiper-flatlist";
|
import SwiperFlatList from "react-native-swiper-flatlist";
|
||||||
|
import { background } from "../../assets";
|
||||||
|
import GradientButton from "../../components/GradientButton";
|
||||||
|
import MusicLandHeader from "../../components/MusicLandHeader";
|
||||||
|
import firebase from "../../config/firebase";
|
||||||
|
import Page from "../../layouts/Page";
|
||||||
|
import { Routes } from "../../navigation";
|
||||||
|
import { goBack, navigate } from "../../navigation/NavigationService";
|
||||||
|
import { useUser } from "../../providers/UserDataProvider";
|
||||||
|
import { gutters } from "../../styles";
|
||||||
import ChooseGenre from "./ChooseGenre";
|
import ChooseGenre from "./ChooseGenre";
|
||||||
import CustomizeVoice from "./CustomizeVoice";
|
|
||||||
import ChooseInstruments from "./ChooseInstruments";
|
import ChooseInstruments from "./ChooseInstruments";
|
||||||
import ChooseRhythm from "./ChooseRhythm";
|
import ChooseRhythm from "./ChooseRhythm";
|
||||||
import { useUser } from "../../providers/UserDataProvider";
|
import CustomizeVoice from "./CustomizeVoice";
|
||||||
import firebase from "../../config/firebase";
|
|
||||||
import { Routes } from "../../navigation";
|
|
||||||
|
|
||||||
const { width } = Dimensions.get("window");
|
const { width } = Dimensions.get("window");
|
||||||
|
|
||||||
@@ -37,7 +37,7 @@ const ComposeSong = () => {
|
|||||||
return Array.isArray(genres) && genres.length > 0;
|
return Array.isArray(genres) && genres.length > 0;
|
||||||
case 1:
|
case 1:
|
||||||
// Must select at least one in base category
|
// Must select at least one in base category
|
||||||
return !!(voice && typeof voice === "object" && voice.base);
|
return !!(voice && typeof voice === "object" && voice.BASE);
|
||||||
case 2:
|
case 2:
|
||||||
return Array.isArray(instruments) && instruments.length > 0;
|
return Array.isArray(instruments) && instruments.length > 0;
|
||||||
case 3:
|
case 3:
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ const ComposeSong = () => {
|
|||||||
case 0:
|
case 0:
|
||||||
return Array.isArray(genres) && genres.length > 0;
|
return Array.isArray(genres) && genres.length > 0;
|
||||||
case 1:
|
case 1:
|
||||||
return !!(voice && typeof voice === "object" && voice.base);
|
return !!(voice && typeof voice === "object" && voice.BASE);
|
||||||
case 2:
|
case 2:
|
||||||
return Array.isArray(instruments) && instruments.length > 0;
|
return Array.isArray(instruments) && instruments.length > 0;
|
||||||
case 3:
|
case 3:
|
||||||
|
|||||||
Reference in New Issue
Block a user