fix epub reader playback and trial navigation
This commit is contained in:
@@ -10,10 +10,19 @@ public struct RDEPUBReaderTableOfContentsItem: Equatable {
|
||||
|
||||
public var pageNumber: Int?
|
||||
|
||||
public init(title: String, href: String, depth: Int, pageNumber: Int? = nil) {
|
||||
public var isReadable: Bool
|
||||
|
||||
public init(
|
||||
title: String,
|
||||
href: String,
|
||||
depth: Int,
|
||||
pageNumber: Int? = nil,
|
||||
isReadable: Bool = true
|
||||
) {
|
||||
self.title = title
|
||||
self.href = href
|
||||
self.depth = depth
|
||||
self.pageNumber = pageNumber
|
||||
self.isReadable = isReadable
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user