mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-21 20:47:03 -05:00
Fix crash in track date selection dialog
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
This commit is contained in:
parent
ab06720966
commit
c348fac78f
2 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue