progress && remove video

This commit is contained in:
2025-10-20 14:54:45 +02:00
parent 2cb3af13e2
commit cab9e7dc28
3 changed files with 60 additions and 26 deletions
+1 -15
View File
@@ -1,9 +1,8 @@
import React, { useEffect, useState } from "react";
import React from "react";
import { Image, StyleSheet, View } from "react-native";
import useMinuit from "react-native-minuit/src/hooks/useMinuit.js";
import { ai, background, icons } from "../../assets";
import BorderGradientButton from "../../components/BorderGradientButton";
import FullscreenIntroVideo from "../../components/FullscreenIntroVideo";
import GradientButton from "../../components/GradientButton";
import MusicLandHeader from "../../components/MusicLandHeader";
import { isWeb } from "../../hooks/useLayoutType";
@@ -18,14 +17,6 @@ const WritingLyrics = () => {
useUserData();
const { setIsLoading } = useMinuit();
const [showIntro, setShowIntro] = useState(false);
useEffect(() => {
if (selectedProject === null) {
setShowIntro(true);
}
}, [selectedProject]);
async function createAndNavigate({ hasLyrics = false }) {
try {
await setIsLoading(true);
@@ -76,11 +67,6 @@ const WritingLyrics = () => {
/>
</View>
</View>
<FullscreenIntroVideo
url={require("../../../src/assets/video/testVideo.mp4")}
visible={showIntro}
onClose={() => setShowIntro(false)}
/>
</Page>
);
};