mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Fix chapter number display style (#7383)
This commit is contained in:
		@@ -390,12 +390,13 @@ private fun MangaScreenSmallImpl(
 | 
			
		||||
                ) {
 | 
			
		||||
                    items(items = chapters) { chapterItem ->
 | 
			
		||||
                        val (chapter, downloadState, downloadProgress) = chapterItem
 | 
			
		||||
                        val chapterTitle = remember(state.manga.displayMode, chapter.chapterNumber, chapter.name) {
 | 
			
		||||
                            if (state.manga.displayMode == CHAPTER_DISPLAY_NUMBER) {
 | 
			
		||||
                                chapterDecimalFormat.format(chapter.chapterNumber.toDouble())
 | 
			
		||||
                            } else {
 | 
			
		||||
                                chapter.name
 | 
			
		||||
                            }
 | 
			
		||||
                        val chapterTitle = if (state.manga.displayMode == CHAPTER_DISPLAY_NUMBER) {
 | 
			
		||||
                            stringResource(
 | 
			
		||||
                                id = R.string.display_mode_chapter,
 | 
			
		||||
                                chapterDecimalFormat.format(chapter.chapterNumber.toDouble()),
 | 
			
		||||
                            )
 | 
			
		||||
                        } else {
 | 
			
		||||
                            chapter.name
 | 
			
		||||
                        }
 | 
			
		||||
                        val date = remember(chapter.dateUpload) {
 | 
			
		||||
                            chapter.dateUpload
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user