mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Fix #546
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user