From 1c7692c3ec00d4039f80bee7c8c1a227c8e53cfc Mon Sep 17 00:00:00 2001 From: Arjix <53124886+ArjixWasTaken@users.noreply.github.com> Date: Sat, 16 Oct 2021 23:47:35 +0300 Subject: [PATCH] Update VideoDownloadManager.kt --- .../com/lagradost/cloudstream3/utils/VideoDownloadManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/lagradost/cloudstream3/utils/VideoDownloadManager.kt b/app/src/main/java/com/lagradost/cloudstream3/utils/VideoDownloadManager.kt index ce847074..385cb359 100644 --- a/app/src/main/java/com/lagradost/cloudstream3/utils/VideoDownloadManager.kt +++ b/app/src/main/java/com/lagradost/cloudstream3/utils/VideoDownloadManager.kt @@ -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()