🐛 Search siblings in netease won't show duration

This commit is contained in:
LittleSheep 2024-09-06 12:55:10 +08:00
parent e30e7a5c24
commit 2cee7ee958

View File

@ -247,7 +247,7 @@ class NeteaseSourcedTrack extends SourcedTrack {
title: item['name'], title: item['name'],
duration: item['dt'] != null duration: item['dt'] != null
? Duration(milliseconds: item['dt']) ? Duration(milliseconds: item['dt'])
: Duration.zero, : Duration(milliseconds: item['duration']),
album: item['al']?['name'], album: item['al']?['name'],
), ),
source: toSourceMap(item), source: toSourceMap(item),