mirror of
https://github.com/Jellify-Music/App.git
synced 2026-05-12 22:38:38 -05:00
omfg this WOPRKS??
This commit is contained in:
@@ -54,7 +54,10 @@ export default function ItemDetail({
|
||||
size={width / 3}
|
||||
/>
|
||||
|
||||
<YStack justifyContent="flex-start">
|
||||
<YStack
|
||||
marginLeft={"$0.5"}
|
||||
justifyContent="flex-start"
|
||||
>
|
||||
<Text bold fontSize={"$6"}>
|
||||
{ item.Name ?? "Untitled Track" }
|
||||
</Text>
|
||||
|
||||
@@ -17,6 +17,7 @@ import { Colors } from "../../../enums/colors";
|
||||
import { State } from "react-native-track-player";
|
||||
import FavoriteButton from "../../Global/components/favorite-button";
|
||||
import Client from "../../../api/client";
|
||||
import BlurhashedImage from "@/components/Global/helpers/blurhashed-image";
|
||||
|
||||
export default function PlayerScreen({ navigation }: { navigation: NativeStackNavigationProp<StackParamList>}): React.JSX.Element {
|
||||
|
||||
@@ -65,7 +66,6 @@ export default function PlayerScreen({ navigation }: { navigation: NativeStackNa
|
||||
</YStack>
|
||||
|
||||
<XStack
|
||||
animation={"bouncy"}
|
||||
justifyContent="center"
|
||||
alignContent="center"
|
||||
minHeight={width / 1.1}
|
||||
@@ -73,7 +73,11 @@ export default function PlayerScreen({ navigation }: { navigation: NativeStackNa
|
||||
useTogglePlayback.mutate(undefined)
|
||||
}}
|
||||
>
|
||||
<CachedImage
|
||||
<BlurhashedImage
|
||||
item={nowPlaying!.item}
|
||||
size={width / 1.1}
|
||||
/>
|
||||
{/* <CachedImage
|
||||
source={getImageApi(Client.api!)
|
||||
.getItemImageUrlById(
|
||||
nowPlaying!.item.AlbumId ?? "",
|
||||
@@ -88,7 +92,7 @@ export default function PlayerScreen({ navigation }: { navigation: NativeStackNa
|
||||
height: playbackState === State.Playing ? width / 1.1 : width / 1.4,
|
||||
borderRadius: 2
|
||||
}}
|
||||
/>
|
||||
/> */}
|
||||
</XStack>
|
||||
|
||||
<XStack marginHorizontal={20} paddingVertical={5}>
|
||||
|
||||
Reference in New Issue
Block a user