Merge pull request #4460 from libre-tube/fix-download-notification

fix: download paused notification shown instead of completed
This commit is contained in:
Bnyro 2023-08-13 22:55:40 +02:00 committed by GitHub
commit 0fcc1e6f79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -238,7 +238,7 @@ class DownloadService : LifecycleService() {
}
}
val completed = totalRead < item.downloadSize
val completed = totalRead >= item.downloadSize
if (completed) {
_downloadFlow.emit(item.id to DownloadStatus.Completed)
} else {