diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/download/DownloadManager.kt b/app/src/main/java/eu/kanade/tachiyomi/data/download/DownloadManager.kt index cead1a357c..4c1a1553eb 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/download/DownloadManager.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/download/DownloadManager.kt @@ -231,7 +231,7 @@ class DownloadManager( addDownloadStatOperation.await( DownloadStatOperation.create().copy( mangaId = manga.id, - size = chapterDirs.sumOf { DiskUtil.getDirectorySize(File( it.filePath!!)) } * -1, + size = chapterDirs.sumOf { DiskUtil.getDirectorySize(File(it.filePath!!)) } * -1, units = filteredChapters.size.toLong(), ),