diff --git a/src/ru/remanga/build.gradle b/src/ru/remanga/build.gradle index 4f3de1355..0003cc68d 100644 --- a/src/ru/remanga/build.gradle +++ b/src/ru/remanga/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Remanga' pkgNameSuffix = 'ru.remanga' extClass = '.Remanga' - extVersionCode = 15 + extVersionCode = 16 libVersion = '1.2' } diff --git a/src/ru/remanga/src/eu/kanade/tachiyomi/extension/ru/remanga/Remanga.kt b/src/ru/remanga/src/eu/kanade/tachiyomi/extension/ru/remanga/Remanga.kt index f2d333286..6c4246cae 100644 --- a/src/ru/remanga/src/eu/kanade/tachiyomi/extension/ru/remanga/Remanga.kt +++ b/src/ru/remanga/src/eu/kanade/tachiyomi/extension/ru/remanga/Remanga.kt @@ -305,7 +305,7 @@ class Remanga : ConfigurableSource, HttpSource() { val chapters = gson.fromJson>(response.body()?.charStream()!!) return chapters.content.filter { !it.is_paid or it.is_bought }.map { chapter -> SChapter.create().apply { - chapter_number = 1F + chapter_number = chapter.chapter.split(".").take(2).joinToString(".").toFloat() name = chapterName(chapter) url = "/api/titles/chapters/${chapter.id}" date_upload = parseDate(chapter.upload_date)