Fix Task: #92
This commit is contained in:
@@ -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={{
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user