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 d1f265cac5..cead1a357c 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 @@ -259,7 +259,7 @@ class DownloadManager( downloader.removeFromQueue(manga) } val mangaDir = provider.findMangaDir(manga.title, source) - val dirSize = DiskUtil.getDirectorySize(File( mangaDir?.filePath!!)) + val dirSize = DiskUtil.getDirectorySize(File(mangaDir?.filePath!!)) if (dirSize > 0) { addDownloadStatOperation.await( DownloadStatOperation.create().copy(