mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
add mark previous as read option in chapter list (#632)
add download unread, mark read, mark unread on library view
This commit is contained in:
parent
68db9a88e6
commit
5989c7119f
7 changed files with 86 additions and 4 deletions
|
@ -56,6 +56,10 @@ open class SourceManager(private val context: Context) {
|
|||
}
|
||||
}
|
||||
|
||||
fun isDelegatedSource(source: Source): Boolean {
|
||||
return delegatedSources.values.count { it.sourceId == source.id } > 0
|
||||
}
|
||||
|
||||
fun getDelegatedSource(urlName: String): DelegatedHttpSource? {
|
||||
return delegatedSources.values.find { it.urlName == urlName }?.delegatedHttpSource
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue