style(ui): 收藏行高恢复至原版尺寸
封面 38->44、标题 14->16、副标题 12->13、行内边距回到 2。 媒体库区间的收紧(12 / 16)保持不变。
This commit is contained in:
@@ -458,20 +458,20 @@ class _HomePageState extends BaseState<HomePage> {
|
|||||||
itemBuilder: (context, index) {
|
itemBuilder: (context, index) {
|
||||||
final song = _favorites[index];
|
final song = _favorites[index];
|
||||||
return Padding(
|
return Padding(
|
||||||
padding: EdgeInsets.zero,
|
padding: const EdgeInsets.symmetric(vertical: 2),
|
||||||
child: ListTile(
|
child: ListTile(
|
||||||
contentPadding: EdgeInsets.zero,
|
contentPadding: EdgeInsets.zero,
|
||||||
visualDensity: VisualDensity.compact,
|
visualDensity: VisualDensity.compact,
|
||||||
minVerticalPadding: 0,
|
minVerticalPadding: 0,
|
||||||
leading: SongArtwork(
|
leading: SongArtwork(
|
||||||
filePath: song.artworkPath,
|
filePath: song.artworkPath,
|
||||||
size: 38,
|
size: 44,
|
||||||
fallbackIcon: Icons.music_note,
|
fallbackIcon: Icons.music_note,
|
||||||
),
|
),
|
||||||
title: Text(
|
title: Text(
|
||||||
song.displayTitle,
|
song.displayTitle,
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontSize: 14,
|
fontSize: 16,
|
||||||
fontWeight: FontWeight.w400,
|
fontWeight: FontWeight.w400,
|
||||||
color: Colors.white,
|
color: Colors.white,
|
||||||
),
|
),
|
||||||
@@ -480,7 +480,7 @@ class _HomePageState extends BaseState<HomePage> {
|
|||||||
),
|
),
|
||||||
subtitle: Text(
|
subtitle: Text(
|
||||||
song.displaySubtitle,
|
song.displaySubtitle,
|
||||||
style: TextStyle(fontSize: 12, color: Colors.grey[400]),
|
style: TextStyle(fontSize: 13, color: Colors.grey[400]),
|
||||||
maxLines: 1,
|
maxLines: 1,
|
||||||
overflow: TextOverflow.ellipsis,
|
overflow: TextOverflow.ellipsis,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user