pull/551/head
len 8 years ago
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…
Cancel
Save