From 618c557f19f8dc182f7f6cdd5f0bd613b187efc0 Mon Sep 17 00:00:00 2001 From: Carlos <2092019+CarlosEsco@users.noreply.github.com> Date: Sun, 9 May 2021 19:20:22 -0400 Subject: [PATCH] Update MangaDexHelper.kt (#6934) typo fix --- .../tachiyomi/extension/all/mangadex/MangaDexHelper.kt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/MangaDexHelper.kt b/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/MangaDexHelper.kt index ad22369d3..2a17bf29c 100644 --- a/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/MangaDexHelper.kt +++ b/src/all/mangadex/src/eu/kanade/tachiyomi/extension/all/mangadex/MangaDexHelper.kt @@ -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")