From 64c45d0468dde9eee810a1420f87e0f787e8d4db Mon Sep 17 00:00:00 2001 From: Luna712 <142361265+Luna712@users.noreply.github.com> Date: Mon, 8 Jul 2024 20:46:23 -0600 Subject: [PATCH] Fix bug --- .../com/lagradost/cloudstream3/ui/download/DownloadViewModel.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/com/lagradost/cloudstream3/ui/download/DownloadViewModel.kt b/app/src/main/java/com/lagradost/cloudstream3/ui/download/DownloadViewModel.kt index bb91c0ac..35f72bd3 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/ui/download/DownloadViewModel.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/ui/download/DownloadViewModel.kt @@ -215,6 +215,7 @@ class DownloadViewModel : ViewModel() { DialogInterface.BUTTON_POSITIVE -> { viewModelScope.launchSafe { deleteFilesAndUpdateSettings(context, ids, this) + clearSelectedItems() updateList(context) } }