Fix MangaController's loading view initial position (#5827)
Make sure the loading view is hidden before updating the offset.
Cette révision appartient à :
Parent
f683f21ee2
révision
18b5250ed1
1 fichiers modifiés avec 2 ajouts et 0 suppressions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Référencer dans un nouveau ticket