Преглед на файлове

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