mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-10-30 06:43:00 +00:00
Put call to forget finished downloads in an else statement to prevent potential bugs
This commit is contained in:
@@ -566,8 +566,9 @@ public class MissionAdapter extends Adapter<ViewHolder> implements Handler.Callb
|
||||
mContext.sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, mission.storage.getUri()));
|
||||
}
|
||||
}
|
||||
} else if (!delete) {
|
||||
mDownloadManager.forgetFinishedDownloads();
|
||||
}
|
||||
mDownloadManager.forgetFinishedDownloads();
|
||||
applyChanges();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user