player, song generation again, home and design fixes

This commit is contained in:
Thomas Demirdjian
2025-11-14 13:51:53 +01:00
parent 5457030d4a
commit cd31d42c0c
14 changed files with 367 additions and 115 deletions
+4 -11
View File
@@ -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}