mirror of
https://github.com/Jellify-Music/App.git
synced 2026-02-23 04:08:48 -06:00
trying to fix artist card being so small
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
import { ReactNode } from "react";
|
||||
import type { CardProps as TamaguiCardProps } from "tamagui"
|
||||
import { H3, Image, Card as TamaguiCard } from "tamagui";
|
||||
import { useItemImage } from "../../api/queries/image";
|
||||
import { useApiClientContext } from "../jellyfin-api-provider";
|
||||
import { ImageType } from "@jellyfin/sdk/lib/generated-client/models";
|
||||
import { cardDimensions } from "./component.config";
|
||||
|
||||
interface CardProps extends TamaguiCardProps {
|
||||
@@ -42,7 +40,6 @@ export function Card(props: CardProps) {
|
||||
alignSelf="center"
|
||||
source={{
|
||||
uri: `${server!.url}/Items/${props.itemId}/Images/Primary`,
|
||||
...cardDimensions
|
||||
}}
|
||||
/>
|
||||
</TamaguiCard.Background>
|
||||
|
||||
@@ -17,7 +17,7 @@ export default function RecentArtists({ navigation }: ProvidedHomeProps): React.
|
||||
])
|
||||
|
||||
return (
|
||||
<View marginTop={25}>
|
||||
<View>
|
||||
<H2>Recent Artists</H2>
|
||||
<FlatList horizontal
|
||||
data={recentArtists}
|
||||
|
||||
Reference in New Issue
Block a user