LocalSource: Create cover file if it doesn't exist (#7954)

(cherry picked from commit 0c7b1bda7f)
This commit is contained in:
AntsyLich
2022-09-08 03:02:06 +06:00
committed by Jobobby04
parent 4a46117ba7
commit 0e2dba8cd4
@@ -375,6 +375,7 @@ class LocalSource(
var coverFile = getCoverFile(manga.url, baseDirsFiles)
if (coverFile == null) {
coverFile = File(mangaDir.absolutePath, DEFAULT_COVER_NAME)
coverFile.createNewFile()
}
// It might not exist at this point