mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Ignore chapters with duplicated name. Fixes #483
This commit is contained in:
		| @@ -264,6 +264,7 @@ class ChaptersFragment : BaseRxFragment<ChaptersPresenter>(), ActionMode.Callbac | ||||
|  | ||||
|                     fun getUnreadChaptersSorted() = presenter.chapters | ||||
|                             .filter { !it.read && !it.isDownloaded } | ||||
|                             .distinctBy { it.name } | ||||
|                             .sortedByDescending { it.source_order } | ||||
|  | ||||
|                     // i = 0: Download 1 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user