mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 13:51:50 +01:00
LocalSource: Create cover file if it doesn't exist (#7954)
This commit is contained in:
parent
032b377de7
commit
0c7b1bda7f
@ -349,6 +349,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
|
||||
|
Loading…
Reference in New Issue
Block a user