mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-03 23:58:55 +01: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