Trim Chapter scanlator value (#10108)

(cherry picked from commit d0bcd30909adaaf086e0bd5b0e8231561c4b9e0e)
This commit is contained in:
AntsyLich 2023-11-05 22:06:20 +06:00 committed by Jobobby04
parent c8909961c0
commit e368116a30

View File

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