progress && remove video
This commit is contained in:
@@ -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>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user