mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Fix webtoon viewer showing transition view when going to next/prev chapter using next/prev button (#7133)
(cherry picked from commit b21bcc2d45)
			
			
This commit is contained in:
		@@ -245,7 +245,7 @@ class WebtoonViewer(val activity: ReaderActivity, val isContinuous: Boolean = tr
 | 
			
		||||
        logcat { "moveToPage" }
 | 
			
		||||
        val position = adapter.items.indexOf(page)
 | 
			
		||||
        if (position != -1) {
 | 
			
		||||
            recycler.scrollToPosition(position)
 | 
			
		||||
            layoutManager.scrollToPositionWithOffset(position, 0)
 | 
			
		||||
            if (layoutManager.findLastEndVisibleItemPosition() == -1) {
 | 
			
		||||
                onScrolled(pos = position)
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user