mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-03 23:58:55 +01:00 
			
		
		
		
	Minor changes
This commit is contained in:
		@@ -332,9 +332,9 @@ class ReaderPresenter : BasePresenter<ReaderActivity>() {
 | 
			
		||||
    fun retryPage(page: Page?) {
 | 
			
		||||
        if (page != null && source is OnlineSource) {
 | 
			
		||||
            page.status = Page.QUEUE
 | 
			
		||||
            if (page.imagePath != null) {
 | 
			
		||||
                val file = File(page.imagePath)
 | 
			
		||||
                chapterCache.removeFileFromCache(file.name)
 | 
			
		||||
            val path = page.imagePath
 | 
			
		||||
            if (!path.isNullOrEmpty() && !page.chapter.isDownloaded) {
 | 
			
		||||
                chapterCache.removeFileFromCache(File(path).name)
 | 
			
		||||
            }
 | 
			
		||||
            loader.retryPage(page)
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user