mirror of
https://github.com/anultravioletaurora/Jellify.git
synced 2026-01-08 06:40:24 -06:00
but we still want this aligned
This commit is contained in:
@@ -63,31 +63,32 @@ export default function Artist(props: ArtistProps): React.JSX.Element {
|
||||
</YStack>
|
||||
|
||||
<H2>Albums</H2>
|
||||
<FlatList
|
||||
contentContainerStyle={{
|
||||
flexGrow: 1,
|
||||
justifyContent: 'center',
|
||||
// alignItems: "center"
|
||||
}}
|
||||
data={albums}
|
||||
numColumns={columns} // TODO: Make this adjustable
|
||||
renderItem={({ item: album }) => {
|
||||
return (
|
||||
<ItemCard
|
||||
caption={album.Name}
|
||||
subCaption={album.ProductionYear?.toString()}
|
||||
width={(width / 1.1) / columns}
|
||||
cornered
|
||||
itemId={album.Id!}
|
||||
onPress={() => {
|
||||
props.navigation.navigate('Album', {
|
||||
album
|
||||
})
|
||||
}}
|
||||
/>
|
||||
)
|
||||
}}
|
||||
/>
|
||||
<YStack alignItems="center">
|
||||
<FlatList
|
||||
contentContainerStyle={{
|
||||
flexGrow: 1,
|
||||
justifyContent: 'center',
|
||||
}}
|
||||
data={albums}
|
||||
numColumns={columns} // TODO: Make this adjustable
|
||||
renderItem={({ item: album }) => {
|
||||
return (
|
||||
<ItemCard
|
||||
caption={album.Name}
|
||||
subCaption={album.ProductionYear?.toString()}
|
||||
width={(width / 1.1) / columns}
|
||||
cornered
|
||||
itemId={album.Id!}
|
||||
onPress={() => {
|
||||
props.navigation.navigate('Album', {
|
||||
album
|
||||
})
|
||||
}}
|
||||
/>
|
||||
)
|
||||
}}
|
||||
/>
|
||||
</YStack>
|
||||
</ScrollView>
|
||||
</SafeAreaView>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user