mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-19 01:39:19 +01:00
Fix #546
This commit is contained in:
parent
2a531f1a1e
commit
f9c5379400
@ -99,6 +99,7 @@ class DownloadManager(context: Context) {
|
||||
val pages = mutableListOf<Page>()
|
||||
chapterDir?.listFiles()
|
||||
?.filter { it.type?.startsWith("image") ?: false }
|
||||
?.sortedBy { it.name }
|
||||
?.forEach { file ->
|
||||
val page = Page(pages.size, uri = file.uri)
|
||||
pages.add(page)
|
||||
|
Loading…
Reference in New Issue
Block a user