diff --git a/app/src/main/java/ani/dantotsu/download/DownloadCompat.kt b/app/src/main/java/ani/dantotsu/download/DownloadCompat.kt index bd4e5c8450..831a7e736a 100644 --- a/app/src/main/java/ani/dantotsu/download/DownloadCompat.kt +++ b/app/src/main/java/ani/dantotsu/download/DownloadCompat.kt @@ -260,7 +260,7 @@ class DownloadCompat { "$mangaLink/${it.name}", it.name, null, - null, + "Unknown", SChapter.create() ) chapters.add(chapter) diff --git a/app/src/main/java/ani/dantotsu/parsers/AniyomiAdapter.kt b/app/src/main/java/ani/dantotsu/parsers/AniyomiAdapter.kt index 0db36d74bf..adfd857e53 100644 --- a/app/src/main/java/ani/dantotsu/parsers/AniyomiAdapter.kt +++ b/app/src/main/java/ani/dantotsu/parsers/AniyomiAdapter.kt @@ -499,7 +499,7 @@ class DynamicMangaParser(extension: MangaExtension.Installed) : MangaParser() { sChapter.url, sChapter.name, null, - sChapter.scanlator, + sChapter.scanlator ?: "Unknown", sChapter, sChapter.date_upload ) diff --git a/app/src/main/java/ani/dantotsu/parsers/MangaParser.kt b/app/src/main/java/ani/dantotsu/parsers/MangaParser.kt index bf67a8ca4d..266893f81b 100644 --- a/app/src/main/java/ani/dantotsu/parsers/MangaParser.kt +++ b/app/src/main/java/ani/dantotsu/parsers/MangaParser.kt @@ -79,7 +79,7 @@ data class MangaChapter( //Self-Descriptive val title: String? = null, val description: String? = null, - val scanlator: String? = null, + val scanlator: String, val sChapter: SChapter, val date: Long? = null, )