Fix delete download not working
This commit is contained in:
1 parent
ee504e3361
commit
31dcd349df
1 file changed
+2
-2
@@ -761,12 +761,12 @@ class DownloadsScene :
|
||||
}
|
||||
|
||||
lifecycleScope.launchIO {
|
||||
// Delete
|
||||
DownloadManager.deleteRangeDownload(mGidList)
|
||||
// Delete image files
|
||||
val checked = mBuilder.isChecked
|
||||
Settings.removeImageFiles = checked
|
||||
if (checked) {
|
||||
// Delete
|
||||
DownloadManager.deleteRangeDownload(mGidList)
|
||||
val files = arrayOfNulls<UniFile>(mDownloadInfoList.size)
|
||||
for ((i, info) in mDownloadInfoList.withIndex()) {
|
||||
// Put file
|
||||
|
||||
Reference in new issue
Block a user