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