Fix download chapter dir when scanlator is empty or changed (#7780)

This commit is contained in:
stevenyomi
2022-08-17 05:26:08 +08:00
committed by GitHub
parent 97656935a2
commit 1f9f9662bc
3 changed files with 24 additions and 8 deletions
@@ -37,7 +37,7 @@ data class Chapter(
url = sChapter.url,
dateUpload = sChapter.date_upload,
chapterNumber = sChapter.chapter_number,
scanlator = sChapter.scanlator,
scanlator = sChapter.scanlator?.ifBlank { null },
)
}