pretty + better handling + handling in artist detail view

This commit is contained in:
danis
2023-09-18 16:45:03 +02:00
parent 431427d7ad
commit bc227fb0ea
8 changed files with 106 additions and 84 deletions
+12 -5
View File
@@ -55,11 +55,18 @@ const FavSongRow = ({ FavSong, onPress }: FavSongRowProps) => {
{FavSong.addedDate.toLocaleDateString()}
</Text>
</HStack>
<IconButton colorScheme="primary" variant={'ghost'} borderRadius={'full'} onPress={() => {API.removeLikedSong(FavSong.songId)}}
<IconButton
colorScheme="primary"
variant={'ghost'}
borderRadius={'full'}
onPress={() => {
API.removeLikedSong(FavSong.songId);
}}
_icon={{
as: MaterialIcons,
name: "favorite"
}} />
as: MaterialIcons,
name: 'favorite',
}}
/>
<TextButton
flexShrink={0}
flexGrow={0}
@@ -75,4 +82,4 @@ const FavSongRow = ({ FavSong, onPress }: FavSongRowProps) => {
);
};
export default FavSongRow;
export default FavSongRow;