mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-25 02:30:12 +02:00
LocalSource: Create cover file if it doesn't exist (#7954)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user