update
This commit is contained in:
@@ -7,7 +7,7 @@ import { size } from "../../styles/Style";
|
||||
import ProgressBar from "../../components/ProgressBar";
|
||||
import { FONT_FAMILY } from "../../styles/Fonts";
|
||||
import GradientButton from "../../components/GradientButton";
|
||||
import { navigate } from "../../navigation/NavigationService";
|
||||
import { goBack, navigate } from "../../navigation/NavigationService";
|
||||
import { Routes } from "../../navigation";
|
||||
|
||||
const CreatingLyrics = ({ active }) => {
|
||||
@@ -19,7 +19,6 @@ const CreatingLyrics = ({ active }) => {
|
||||
setProgress((prevProgress) => {
|
||||
if (prevProgress >= 100) {
|
||||
clearInterval(interval);
|
||||
navigate(Routes.Lyrics)
|
||||
return 100;
|
||||
}
|
||||
return prevProgress + 1;
|
||||
@@ -80,7 +79,7 @@ const CreatingLyrics = ({ active }) => {
|
||||
left: 10,
|
||||
zIndex: 3,
|
||||
}}
|
||||
onPress={() => console.log("Pressed")}
|
||||
onPress={goBack}
|
||||
>
|
||||
<Image source={icons.close} style={size({ size: 11 })} />
|
||||
</Pressable>
|
||||
|
||||
Reference in New Issue
Block a user