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 { | ||||
|     extName = 'Flame Comics' | ||||
|     extClass = '.FlameComics' | ||||
|     extVersionCode = 36 | ||||
|     extVersionCode = 37 | ||||
| } | ||||
| 
 | ||||
| apply from: "$rootDir/common.gradle" | ||||
|  | ||||
| @ -223,7 +223,7 @@ class FlameComics : HttpSource() { | ||||
|                 chapter_number = chapter.chapter.toFloat() | ||||
|                 date_upload = chapter.release_date * 1000 | ||||
|                 name = buildString { | ||||
|                     append("Chapter ${chapter.chapter.toInt()} ") | ||||
|                     append("Chapter ${chapter.chapter.toString().removeSuffix(".0")} ") | ||||
|                     append(chapter.title ?: "") | ||||
|                 } | ||||
|             } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Artem Kuznetcov
						Artem Kuznetcov