소스 검색

Temporarily remove chapter name cleaning

To be added back in a more consistent manner later around the app. Probably when more things are Compose-y with less repetition.
arkon 2 년 전
부모
커밋
c0214103a9
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3 1
      app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterHolder.kt

+ 3 - 1
app/src/main/java/eu/kanade/tachiyomi/ui/manga/chapter/ChapterHolder.kt

@@ -35,7 +35,9 @@ class ChapterHolder(
                 val number = adapter.decimalFormat.format(chapter.chapter_number.toDouble())
                 itemView.context.getString(R.string.display_mode_chapter, number)
             }
-            else -> cleanChapterName(chapter, manga)
+            else -> chapter.name
+            // TODO: show cleaned name consistently around the app
+            // else -> cleanChapterName(chapter, manga)
         }
 
         // Set correct text color