Ensure memo is correctly passed around when transforming classes

This commit is contained in:
AntsyLich
2026-06-16 19:05:52 +06:00
parent 5896d2c939
commit eb80ab410e
9 changed files with 16 additions and 4 deletions
@@ -15,6 +15,7 @@ fun SManga.toDomainManga(sourceId: Long): Manga {
thumbnailUrl = thumbnail_url,
updateStrategy = update_strategy,
initialized = initialized,
memo = memo,
source = sourceId,
)
}
@@ -9,6 +9,7 @@ class ShouldUpdateDbChapter {
dbChapter.name != sourceChapter.name ||
dbChapter.dateUpload != sourceChapter.dateUpload ||
dbChapter.chapterNumber != sourceChapter.chapterNumber ||
dbChapter.sourceOrder != sourceChapter.sourceOrder
dbChapter.sourceOrder != sourceChapter.sourceOrder ||
dbChapter.memo != sourceChapter.memo
}
}