Compare commits

...

2 Commits

Author SHA1 Message Date
AntsyLich
f087135876 Fix crash in track date selection dialog
Co-authored-by: Ivan Iskandar <12537387+ivaniskandar@users.noreply.github.com>
2024-03-14 03:28:48 +06:00
AntsyLich
f66f52c244 Bump default user agent 2024-03-14 03:27:03 +06:00
3 changed files with 5 additions and 2 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

@@ -19,7 +19,7 @@ class NetworkPreferences(
fun defaultUserAgent(): Preference<String> {
return preferenceStore.getString(
"default_user_agent",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/121.0",
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0",
)
}
}

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