mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Fixed marked previous as read not deleting chapters (#1283)
This commit is contained in:
		@@ -387,7 +387,7 @@ class ChaptersController : NucleusController<ChaptersPresenter>(),
 | 
			
		||||
        val chapters = if (presenter.sortDescending()) adapter.items.reversed() else adapter.items
 | 
			
		||||
        val chapterPos = chapters.indexOf(chapter)
 | 
			
		||||
        if (chapterPos != -1) {
 | 
			
		||||
            presenter.markChaptersRead(chapters.take(chapterPos), true)
 | 
			
		||||
            markAsRead(chapters.take(chapterPos))
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user