mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-22 12:51:49 +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:
parent
f683f21ee2
commit
18b5250ed1
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user