modals
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import { View, Text, ScrollView, Pressable, Alert } from "react-native";
|
||||
import { View, Text, ScrollView, Pressable } from "react-native";
|
||||
import React, { useState } from "react";
|
||||
import Page from "../../layouts/Page";
|
||||
import { background } from "../../assets";
|
||||
import GradientButton from "../../components/GradientButton";
|
||||
import alert from "../../components/Alert";
|
||||
import { navigate } from "../../navigation/NavigationService";
|
||||
import { Routes } from "../../navigation";
|
||||
import { gutters } from "../../styles";
|
||||
@@ -102,7 +103,7 @@ const Studio = () => {
|
||||
disabled={!selected}
|
||||
onPress={() => {
|
||||
if (selected.musicStatus === "GENERATING") {
|
||||
Alert.alert(
|
||||
alert(
|
||||
"Attention",
|
||||
"La chanson est en cours de génération. Veuillez patienter.",
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user