mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-11-04 08:08:55 +01:00 
			
		
		
		
	Fix MangaController's loading view initial position (#5827)
Make sure the loading view is hidden before updating the offset.
This commit is contained in:
		@@ -290,7 +290,9 @@ class MangaController :
 | 
			
		||||
                    val topStatusBarInset = WindowInsetsCompat.toWindowInsetsCompat(windowInsets)
 | 
			
		||||
                        .getInsets(WindowInsetsCompat.Type.statusBars())
 | 
			
		||||
                        .top
 | 
			
		||||
                    swipeRefresh.isRefreshing = false
 | 
			
		||||
                    swipeRefresh.setProgressViewEndTarget(false, getMainAppBarHeight() + topStatusBarInset)
 | 
			
		||||
                    updateRefreshing()
 | 
			
		||||
                    windowInsets
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user