Fix MangaController's loading view initial position (#5827)
Make sure the loading view is hidden before updating the offset.
(cherry picked from commit 18b5250ed1)
This commit is contained in:
@@ -356,7 +356,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