diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackInfoDialog.kt b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackInfoDialog.kt index e0ad25182..1ba697f24 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackInfoDialog.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/manga/track/TrackInfoDialog.kt @@ -427,6 +427,7 @@ private data class TrackDateSelectorScreen( private val start: Boolean, ) : Screen() { + @Transient private val selectableDates = object : SelectableDates { override fun isSelectableDate(utcTimeMillis: Long): Boolean { val dateToCheck = Instant.ofEpochMilli(utcTimeMillis) diff --git a/domain/src/main/java/tachiyomi/domain/track/model/Track.kt b/domain/src/main/java/tachiyomi/domain/track/model/Track.kt index 1a656fcad..a92390494 100644 --- a/domain/src/main/java/tachiyomi/domain/track/model/Track.kt +++ b/domain/src/main/java/tachiyomi/domain/track/model/Track.kt @@ -1,5 +1,7 @@ package tachiyomi.domain.track.model +import java.io.Serializable + data class Track( val id: Long, val mangaId: Long, @@ -14,4 +16,4 @@ data class Track( val remoteUrl: String, val startDate: Long, val finishDate: Long, -) +) : Serializable