Update MangaDexHelper.kt (#6934)

typo fix
This commit is contained in:
Carlos 2021-05-09 19:20:22 -04:00 committed by GitHub
parent 185a0b4c37
commit 618c557f19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -266,11 +266,14 @@ class MangaDexHelper() {
}
attr["title"].nullString?.let {
if (chapterName.isNotEmpty() && it.isNotEmpty()) {
if(it.isNotEmpty()){
if (chapterName.isNotEmpty()) {
chapterName.add("-")
chapterName.add(it)
}
chapterName.add(it)
}
}
// if volume, chapter and title is empty its a oneshot
if (chapterName.isEmpty()) {
chapterName.add("Oneshot")