Skip to content

Commit

Permalink
fix: null scanlator
Browse files Browse the repository at this point in the history
  • Loading branch information
rebelonion committed Jan 4, 2025
1 parent 19740c8 commit 4953225
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/src/main/java/ani/dantotsu/download/DownloadCompat.kt
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ class DownloadCompat {
"$mangaLink/${it.name}",
it.name,
null,
null,
"Unknown",
SChapter.create()
)
chapters.add(chapter)
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/ani/dantotsu/parsers/AniyomiAdapter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ class DynamicMangaParser(extension: MangaExtension.Installed) : MangaParser() {
sChapter.url,
sChapter.name,
null,
sChapter.scanlator,
sChapter.scanlator ?: "Unknown",
sChapter,
sChapter.date_upload
)
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/ani/dantotsu/parsers/MangaParser.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit 4953225

Please sign in to comment.