ソースを参照

Trim `Chapter` scanlator value (#10108)

AntsyLich 1 年間 前
コミット
d0bcd30909

+ 1 - 1
app/src/main/java/eu/kanade/domain/chapter/model/Chapter.kt

@@ -22,7 +22,7 @@ fun Chapter.copyFromSChapter(sChapter: SChapter): Chapter {
         url = sChapter.url,
         dateUpload = sChapter.date_upload,
         chapterNumber = sChapter.chapter_number.toDouble(),
-        scanlator = sChapter.scanlator?.ifBlank { null },
+        scanlator = sChapter.scanlator?.ifBlank { null }?.trim(),
     )
 }