player, song generation again, home and design fixes
This commit is contained in:
@@ -147,9 +147,7 @@ const CreateLyricsWithAi = () => {
|
||||
Array.isArray(customStructure) &&
|
||||
fallbackStructure?.length &&
|
||||
(customStructure.length !== fallbackStructure.length ||
|
||||
customStructure.some(
|
||||
(value, idx) => value !== fallbackStructure[idx]
|
||||
))
|
||||
customStructure.some((value, idx) => value !== fallbackStructure[idx]))
|
||||
) {
|
||||
setCustomStructure(fallbackStructure);
|
||||
}
|
||||
@@ -218,10 +216,7 @@ const CreateLyricsWithAi = () => {
|
||||
fallbackProjectStructure,
|
||||
]);
|
||||
|
||||
const progress = useMemo(
|
||||
() => 16 + selectedIndex * 9,
|
||||
[selectedIndex]
|
||||
);
|
||||
const progress = useMemo(() => 16 + selectedIndex * 9, [selectedIndex]);
|
||||
|
||||
const lyricsConfig = useMemo(() => {
|
||||
const resolvedObjective = shouldUseOtherObjective
|
||||
@@ -428,7 +423,7 @@ const CreateLyricsWithAi = () => {
|
||||
<MusicLandHeader
|
||||
onPressBack={onPressBack}
|
||||
progress={progress}
|
||||
logo={icons.musicLandWriting}
|
||||
// logo={icons.musicLandWriting}
|
||||
/>
|
||||
<View
|
||||
style={{
|
||||
@@ -437,9 +432,7 @@ const CreateLyricsWithAi = () => {
|
||||
gap: responsiveHeight(5),
|
||||
}}
|
||||
>
|
||||
<View
|
||||
style={{ flex: 1 }}
|
||||
>
|
||||
<View style={{ flex: 1 }}>
|
||||
{currentStep ? (
|
||||
<View
|
||||
key={currentStep.key}
|
||||
|
||||
Reference in New Issue
Block a user