🐛 Fix player view layout issue

This commit is contained in:
LittleSheep 2024-09-06 16:22:39 +08:00
parent 463cb9870f
commit 252e4619f7
2 changed files with 74 additions and 73 deletions

View File

@ -309,7 +309,8 @@ class _PlayerScreenState extends State<PlayerScreen> {
], ],
), ),
const Gap(20), const Gap(20),
SizedBox( Center(
child: SizedBox(
height: 40, height: 40,
child: ListView( child: ListView(
scrollDirection: Axis.horizontal, scrollDirection: Axis.horizontal,
@ -392,6 +393,7 @@ class _PlayerScreenState extends State<PlayerScreen> {
], ],
), ),
), ),
),
], ],
), ),
), ),

View File

@ -111,7 +111,6 @@ class NeteaseSourcedTrack extends SourcedTrack {
final client = getClient(); final client = getClient();
final resp = await client.get('/song/detail?ids=${cachedSource.sourceId}'); final resp = await client.get('/song/detail?ids=${cachedSource.sourceId}');
print(resp.body);
final item = resp.body['songs'][0]; final item = resp.body['songs'][0];
return NeteaseSourcedTrack( return NeteaseSourcedTrack(