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