Ensure memo is correctly passed around when transforming classes
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
package eu.kanade.tachiyomi.data.database.models
|
||||
|
||||
import kotlinx.serialization.json.JsonObject
|
||||
import mihon.core.common.extensions.EMPTY
|
||||
|
||||
class ChapterImpl : Chapter {
|
||||
|
||||
@@ -34,7 +35,7 @@ class ChapterImpl : Chapter {
|
||||
|
||||
override var version: Long = 0
|
||||
|
||||
override var memo: JsonObject = JsonObject(emptyMap())
|
||||
override var memo: JsonObject = JsonObject.EMPTY
|
||||
|
||||
override fun equals(other: Any?): Boolean {
|
||||
if (this === other) return true
|
||||
|
||||
Reference in New Issue
Block a user