diff --git a/components/ItemDetail/helpers/TrackOptions.tsx b/components/ItemDetail/helpers/TrackOptions.tsx index bf340ca9..0c2ec637 100644 --- a/components/ItemDetail/helpers/TrackOptions.tsx +++ b/components/ItemDetail/helpers/TrackOptions.tsx @@ -3,7 +3,7 @@ import { useItem } from "../../../api/queries/item"; import { StackParamList } from "../../../components/types"; import { BaseItemDto } from "@jellyfin/sdk/lib/generated-client/models"; import { NativeStackNavigationProp } from "@react-navigation/native-stack"; -import { ListItem, Spacer, Spinner, XStack, YGroup, YStack } from "tamagui"; +import { getToken, getTokens, ListItem, Separator, Spacer, Spinner, XStack, YGroup, YStack } from "tamagui"; import { QueuingType } from "../../../enums/queuing-type"; import { useSafeAreaFrame } from "react-native-safe-area-context"; import IconButton from "../../../components/Global/helpers/icon-button"; @@ -107,7 +107,7 @@ export default function TrackOptions({ Add to Playlist - + )}> { playlists.map(playlist => { const useAddToPlaylist = useMutation({ @@ -136,13 +136,20 @@ export default function TrackOptions({ }) }}> - + - {playlist.Name ?? "Untitled Playlist"} + + + + + {playlist.Name ?? "Untitled Playlist"} + + {`${playlist.ChildCount ?? 0} tracks`} +