mirror of
https://github.com/austinried/subtracks.git
synced 2025-12-27 00:59:28 +01:00
round album art corners in tiles
This commit is contained in:
parent
c3bb14edbf
commit
4183e2d3b9
@ -134,10 +134,12 @@ class PlaylistListTile extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return ListTile(
|
||||
leading: CoverArtImage(
|
||||
leading: RoundedBoxClip(
|
||||
child: CoverArtImage(
|
||||
coverArt: playlist.coverArt,
|
||||
thumbnail: true,
|
||||
),
|
||||
),
|
||||
title: Text(playlist.name),
|
||||
subtitle: Text(playlist.comment ?? ''),
|
||||
onTap: onTap,
|
||||
@ -163,9 +165,11 @@ class SongListTile extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return ListTile(
|
||||
leading: showLeading
|
||||
? CoverArtImage(
|
||||
? RoundedBoxClip(
|
||||
child: CoverArtImage(
|
||||
coverArt: coverArt,
|
||||
thumbnail: true,
|
||||
),
|
||||
)
|
||||
: null,
|
||||
title: Text(song.title),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user