This commit is contained in:
Philip Cesar Garay
2025-08-15 21:02:34 +08:00
parent 41636b5dbc
commit a8ebe8bcc3
39 changed files with 1436 additions and 391 deletions
+18 -2
View File
@@ -13,15 +13,31 @@ import { Palette } from "../../styles";
import Style, { gutters, size } from "../../styles/Style";
import { FONT_FAMILY } from "../../styles/Fonts";
import Slider from "../../components/Slider";
import { useRoute } from "@react-navigation/core";
import { SheetManager } from "react-native-actions-sheet";
const MusicDetails = () => {
const params = useRoute().params;
const action = params?.action;
const [fav, setFav] = useState(false);
return (
<Page
headerType="NAVIGATION"
title="Recherche"
backgroundImg={background.libraryBG2}
title={action === "userProfile" ? "Mon profil" : "Recherche"}
backgroundImg={
action === "userProfile" ? background.profileBG : background.libraryBG2
}
{...(action === "userProfile" && {
containerStyle: {
backgroundColor: "#0000004D",
},
rightComponent: () => (
<Pressable onPress={() => SheetManager.show("DeleteAudio")}>
<Image source={icons.trash} />
</Pressable>
),
})}
>
<ScrollView
contentContainerStyle={{