Skip to content

Commit

Permalink
Fix crash in track date selection dialog
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
  • Loading branch information
AntsyLich and ivaniskandar committed Mar 13, 2024
1 parent f66f52c commit f087135
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 3 additions & 1 deletion domain/src/main/java/tachiyomi/domain/track/model/Track.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package tachiyomi.domain.track.model

import java.io.Serializable

data class Track(
val id: Long,
val mangaId: Long,
Expand All @@ -14,4 +16,4 @@ data class Track(
val remoteUrl: String,
val startDate: Long,
val finishDate: Long,
)
) : Serializable

0 comments on commit f087135

Please sign in to comment.