Fix crash in track date selection dialog

Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
This commit is contained in:
AntsyLich 2024-03-14 03:28:48 +06:00
parent f66f52c244
commit f087135876
No known key found for this signature in database
2 changed files with 4 additions and 1 deletions

View File

@ -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)

View File

@ -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