🐛 Fix queue view shows wrong of the remote tracks

This commit is contained in:
2025-12-20 01:03:21 +08:00
parent 7f67332590
commit 1fc774886b
2 changed files with 3 additions and 2 deletions

View File

@@ -1177,7 +1177,7 @@ class _QueueView extends HookConsumerWidget {
itemBuilder: (context, index) {
final media = playlist.medias[index];
final isCurrent = index == playlist.index;
final trackPath = media.uri;
final trackPath = media.extras?['trackPath'] ?? media.uri;
final trackAsync = ref.watch(trackByPathProvider(trackPath));
return trackAsync.when(