Update VideoDownloadManager.kt

This commit is contained in:
Arjix 2021-10-16 23:47:35 +03:00 committed by GitHub
parent 06177079c0
commit 1c7692c3ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -938,7 +938,7 @@ object VideoDownloadManager {
KEY_DOWNLOAD_INFO,
it.toString(),
DownloadedFileInfo(
bytesDownloaded * (totalTs / tsProgress.toFloat()),
(bytesDownloaded * (totalTs / tsProgress.toFloat())).toLong(),
relativePath,
displayName,
tsProgress.toString()