mirror of
https://github.com/Jellify-Music/App.git
synced 2026-04-23 03:21:21 -05:00
lol
This commit is contained in:
@@ -35,6 +35,8 @@ export default function Artist(props: ArtistProps): React.JSX.Element {
|
||||
|
||||
const { width } = useSafeAreaFrame();
|
||||
|
||||
const bannerHeight = width / 4;
|
||||
|
||||
const { data: albums } = useArtistAlbums(props.artist.Id!, apiClient!);
|
||||
|
||||
return (
|
||||
@@ -42,7 +44,7 @@ export default function Artist(props: ArtistProps): React.JSX.Element {
|
||||
<ScrollView
|
||||
contentInsetAdjustmentBehavior="automatic"
|
||||
alignContent="center">
|
||||
<YStack alignContent="center" justifyContent="center" minHeight={width / 5}>
|
||||
<YStack alignContent="center" justifyContent="center" minHeight={bannerHeight}>
|
||||
<CachedImage
|
||||
source={getImageApi(apiClient!)
|
||||
.getItemImageUrlById(
|
||||
@@ -52,8 +54,8 @@ export default function Artist(props: ArtistProps): React.JSX.Element {
|
||||
}
|
||||
imageStyle={{
|
||||
width: width,
|
||||
height: width / 5,
|
||||
left: width / 2,
|
||||
height: bannerHeight,
|
||||
left: -(bannerHeight),
|
||||
resizeMode: "cover",
|
||||
position: "relative"
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user