This commit is contained in:
Philip Cesar Garay
2025-09-09 18:16:30 +08:00
parent 11f65023b7
commit f007b1f213
39 changed files with 230 additions and 197 deletions
@@ -16,7 +16,7 @@ const PlaybacksCard = ({
return (
<Pressable onPress={onPress}>
<BlurView
intensity={20}
intensity={Platform.OS !== "ios" ? 10 : 20}
tint="dark"
style={{
...Style.containerSpaceBetween,
@@ -26,9 +26,9 @@ const PlaybacksCard = ({
backgroundColor: Palette.glass,
overflow: "hidden",
}}
experimentalBlurMethod={
Platform.OS !== "ios" ? "dimezisBlurView" : "none"
}
// experimentalBlurMethod={
// Platform.OS !== "ios" ? "dimezisBlurView" : "none"
// }
>
<View
style={{
+18 -6
View File
@@ -1,4 +1,10 @@
import { View, Text, Platform, Pressable, Image as RNImage } from "react-native";
import {
View,
Text,
Platform,
Pressable,
Image as RNImage,
} from "react-native";
import { Image as ExpoImage } from "expo-image";
import React from "react";
import { img } from "../../../assets";
@@ -8,7 +14,13 @@ import { Palette } from "../../../styles";
import { FONT_FAMILY } from "../../../styles/Fonts";
import CoinBadge from "./CoinBadge";
const SongCard = ({ rank = 1, title = "Sans titre", artist = "MusicLand", coverUrl = null, onPress = null }) => {
const SongCard = ({
rank = 1,
title = "Sans titre",
artist = "MusicLand",
coverUrl = null,
onPress = null,
}) => {
return (
<Pressable
onPress={onPress || undefined}
@@ -33,7 +45,7 @@ const SongCard = ({ rank = 1, title = "Sans titre", artist = "MusicLand", coverU
/>
)}
<BlurView
intensity={20}
intensity={Platform.OS !== "ios" ? 10 : 20}
style={{
flex: 1,
borderRadius: 12,
@@ -44,9 +56,9 @@ const SongCard = ({ rank = 1, title = "Sans titre", artist = "MusicLand", coverU
...Style.containerRow,
}}
tint="dark"
experimentalBlurMethod={
Platform.OS !== "ios" ? "dimezisBlurView" : "none"
}
// experimentalBlurMethod={
// Platform.OS !== "ios" ? "dimezisBlurView" : "none"
// }
>
<View style={{ flex: 1, ...Style.containerRow, gap: 15 }}>
<Text