mirror of
https://github.com/mihonapp/mihon.git
synced 2025-10-21 10:38:55 +02:00
Clean up history restoring
This commit is contained in:
@@ -7,4 +7,13 @@ data class History(
|
||||
val chapterId: Long,
|
||||
val readAt: Date?,
|
||||
val readDuration: Long,
|
||||
)
|
||||
) {
|
||||
companion object {
|
||||
fun create() = History(
|
||||
id = -1L,
|
||||
chapterId = -1L,
|
||||
readAt = null,
|
||||
readDuration = -1L,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user