From d0bcd30909adaaf086e0bd5b0e8231561c4b9e0e Mon Sep 17 00:00:00 2001 From: AntsyLich <59261191+AntsyLich@users.noreply.github.com> Date: Sun, 5 Nov 2023 22:06:20 +0600 Subject: [PATCH] Trim `Chapter` scanlator value (#10108) --- app/src/main/java/eu/kanade/domain/chapter/model/Chapter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/kanade/domain/chapter/model/Chapter.kt b/app/src/main/java/eu/kanade/domain/chapter/model/Chapter.kt index a852e1ae1..32d2381b1 100644 --- a/app/src/main/java/eu/kanade/domain/chapter/model/Chapter.kt +++ b/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(), ) }