actually I need this

This commit is contained in:
Violet Caulfield
2025-04-05 21:40:13 -05:00
parent 0c3f7a9455
commit fef2ee9688
2 changed files with 17 additions and 4 deletions

View File

@@ -13,6 +13,7 @@ import { TextTickerConfig } from "../Player/component.config";
import { Image } from "expo-image";
import { getImageApi } from "@jellyfin/sdk/lib/utils/api";
import Client from "../../api/client";
import Icon from "../Global/helpers/icon";
export default function ItemDetail({
item,
@@ -73,10 +74,19 @@ export default function ItemDetail({
<XStack
justifyContent="center"
alignItems="center"
alignItems="flex-start"
minHeight={width / 1.5}
minWidth={width / 1.5}
>
<Icon
name="chevron-down"
onPress={() => {
navigation.goBack();
}}
small
/>
<Spacer />
<Image
source={getImageApi(Client.api!)
@@ -92,6 +102,9 @@ export default function ItemDetail({
borderRadius: item.Type === "MusicArtist" ? width / 1.5 : getToken("$5")
}}
/>
<Spacer />
<Spacer />
</XStack>
{/* Item Name, Artist, Album, and Favorite Button */}

View File

@@ -188,15 +188,15 @@ export default function TrackOptions({
source={getImageApi(Client.api!).getItemImageUrlById(playlist.Id!)}
style={{
borderRadius: getToken("$1.5"),
width: getToken("$15"),
height: getToken("$15")
width: getToken("$12"),
height: getToken("$12")
}}
/>
</YStack>
<YStack
alignItems="flex-start"
flex={4}
flex={5}
>
<Text bold fontSize={"$6"}>{playlist.Name ?? "Untitled Playlist"}</Text>