mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	Scroll directly to chapters list for library manga (closes #3353)
This commit is contained in:
		| @@ -301,6 +301,11 @@ class MangaInfoChaptersController(private val fromSource: Boolean = false) : | ||||
|         if (manga.initialized) { | ||||
|             // Update view. | ||||
|             headerAdapter?.update(manga, source) | ||||
|  | ||||
|             // Skips directly to chapters list by default if navigated to from the library | ||||
|             if (!fromSource) { | ||||
|                 (binding.recycler.layoutManager as LinearLayoutManager).scrollToPositionWithOffset(1, 0) | ||||
|             } | ||||
|         } else { | ||||
|             // Initialize manga. | ||||
|             fetchMangaInfoFromSource() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user