mirror of
https://github.com/mihonapp/mihon.git
synced 2024-11-07 20:31:02 -05: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
1 changed files with 2 additions and 0 deletions
|
@ -290,7 +290,9 @@ class MangaController :
|
||||||
val topStatusBarInset = WindowInsetsCompat.toWindowInsetsCompat(windowInsets)
|
val topStatusBarInset = WindowInsetsCompat.toWindowInsetsCompat(windowInsets)
|
||||||
.getInsets(WindowInsetsCompat.Type.statusBars())
|
.getInsets(WindowInsetsCompat.Type.statusBars())
|
||||||
.top
|
.top
|
||||||
|
swipeRefresh.isRefreshing = false
|
||||||
swipeRefresh.setProgressViewEndTarget(false, getMainAppBarHeight() + topStatusBarInset)
|
swipeRefresh.setProgressViewEndTarget(false, getMainAppBarHeight() + topStatusBarInset)
|
||||||
|
updateRefreshing()
|
||||||
windowInsets
|
windowInsets
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue