mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-12-07 15:59:42 +00:00
fix: failed download no error icon
This commit is contained in:
parent
73c012c71a
commit
1266a3f160
@ -89,10 +89,8 @@ class UserDownloads extends HookConsumerWidget {
|
||||
),
|
||||
),
|
||||
horizontalTitleGap: 10,
|
||||
trailing: SizedBox(
|
||||
width: 30,
|
||||
height: 30,
|
||||
child: downloadManager.activeItem?.id == track.id
|
||||
trailing: downloadManager.activeItem?.id == track.id &&
|
||||
!hasFailed
|
||||
? CircularProgressIndicator(
|
||||
value: task.data?.progress ?? 0,
|
||||
)
|
||||
@ -103,7 +101,6 @@ class UserDownloads extends HookConsumerWidget {
|
||||
onPressed: () {
|
||||
downloadManager.cancel(track);
|
||||
}),
|
||||
),
|
||||
subtitle: TypeConversionUtils.artists_X_ClickableArtists(
|
||||
track.artists ?? <Artist>[],
|
||||
mainAxisAlignment: WrapAlignment.start,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user