From 8be67d02c4e73890de697de41333fdd0c6eafb4c Mon Sep 17 00:00:00 2001 From: Kingkor Roy Tirtho Date: Sat, 10 Jun 2023 15:33:14 +0600 Subject: [PATCH] chore: remove reference to background_downloader --- lib/components/library/user_downloads.dart | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/components/library/user_downloads.dart b/lib/components/library/user_downloads.dart index b0c9541c1..544320867 100644 --- a/lib/components/library/user_downloads.dart +++ b/lib/components/library/user_downloads.dart @@ -1,5 +1,5 @@ import 'package:auto_size_text/auto_size_text.dart'; -import 'package:background_downloader/background_downloader.dart'; +// import 'package:background_downloader/background_downloader.dart'; import 'package:flutter/material.dart'; import 'package:flutter_hooks/flutter_hooks.dart'; import 'package:hooks_riverpod/hooks_riverpod.dart'; @@ -69,8 +69,10 @@ class UserDownloads extends HookConsumerWidget { // FileDownloader().database.recordForId(track.id!), ); - final hasFailed = failedTaskStream.hasData || - taskItSelf.data?.status == TaskStatus.failed; + final hasFailed = failedTaskStream + .hasData /* || + taskItSelf.data?.status == TaskStatus.failed */ + ; return ListTile( title: Text(track.name ?? ''),