Flame Comics: fix chapters naming (#6388)
* FlameComics: fix chapters naming * FlameComics: replace DecimalFormat to toString and suffix removal
This commit is contained in:
parent
bac2cb25fb
commit
9ee5e17b37
|
@ -1,7 +1,7 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'Flame Comics'
|
extName = 'Flame Comics'
|
||||||
extClass = '.FlameComics'
|
extClass = '.FlameComics'
|
||||||
extVersionCode = 36
|
extVersionCode = 37
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -223,7 +223,7 @@ class FlameComics : HttpSource() {
|
||||||
chapter_number = chapter.chapter.toFloat()
|
chapter_number = chapter.chapter.toFloat()
|
||||||
date_upload = chapter.release_date * 1000
|
date_upload = chapter.release_date * 1000
|
||||||
name = buildString {
|
name = buildString {
|
||||||
append("Chapter ${chapter.chapter.toInt()} ")
|
append("Chapter ${chapter.chapter.toString().removeSuffix(".0")} ")
|
||||||
append(chapter.title ?: "")
|
append(chapter.title ?: "")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue