Fix MangaController's loading view initial position (#5827)
Make sure the loading view is hidden before updating the offset. (cherry picked from commit 18b5250ed1067423f2c4bb0955f14350697afc5b)
This commit is contained in:
parent
15cd238223
commit
7da6af5138
@ -356,7 +356,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…
x
Reference in New Issue
Block a user