From ba66869502eed3401db79d686e3a88343c61d00f Mon Sep 17 00:00:00 2001 From: Nicholas Wallace Date: Thu, 27 Aug 2026 15:31:32 -0700 Subject: [PATCH] Remove unnecessary changes --- .../com/audiobookshelf/app/managers/DownloadItemManager.kt | 6 +----- components/widgets/DownloadProgressIndicator.vue | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/android/app/src/main/java/com/audiobookshelf/app/managers/DownloadItemManager.kt b/android/app/src/main/java/com/audiobookshelf/app/managers/DownloadItemManager.kt index c8b738a2..06bc84c0 100644 --- a/android/app/src/main/java/com/audiobookshelf/app/managers/DownloadItemManager.kt +++ b/android/app/src/main/java/com/audiobookshelf/app/managers/DownloadItemManager.kt @@ -5,7 +5,6 @@ import android.net.Uri import android.os.StatFs import android.util.Log import androidx.documentfile.provider.DocumentFile -import com.anggrayudi.storage.file.fullName import com.audiobookshelf.app.device.DeviceManager import com.audiobookshelf.app.device.FolderScanner import com.audiobookshelf.app.models.DownloadItem @@ -629,11 +628,8 @@ class DownloadItemManager( val expectedBaseName = part.filename.substringBeforeLast('.') return folder.listFiles().firstOrNull { document -> document.name == part.filename || - document.fullName == part.filename || (part.audioTrack != null && document.isFile && - (document.name ?: "").substringBeforeLast('.') == expectedBaseName) || - (part.audioTrack != null && document.isFile && - document.fullName.substringBeforeLast('.') == expectedBaseName) + (document.name ?: "").substringBeforeLast('.') == expectedBaseName) } } diff --git a/components/widgets/DownloadProgressIndicator.vue b/components/widgets/DownloadProgressIndicator.vue index 625cdc4f..be1d502c 100644 --- a/components/widgets/DownloadProgressIndicator.vue +++ b/components/widgets/DownloadProgressIndicator.vue @@ -95,4 +95,4 @@ export default { this.queueChangedListener?.remove() } } - + \ No newline at end of file