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 ab06720966
commit c348fac78f
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)