mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-30 22:07:57 +01:00 
			
		
		
		
	Add dev flavor. Bugfix in reader
This commit is contained in:
		| @@ -230,7 +230,10 @@ abstract class PagerReader : BaseReader() { | ||||
|      */ | ||||
|     protected fun setPagesOnAdapter() { | ||||
|         if (pages.isNotEmpty()) { | ||||
|             // Prevent a wrong active page when changing chapters with the navigation buttons. | ||||
|             val currPage = currentPage | ||||
|             adapter.pages = pages | ||||
|             currentPage = currPage | ||||
|             if (currentPage == pager.currentItem) { | ||||
|                 onPageChanged(currentPage) | ||||
|             } else { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user