mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 08:09:21 +01:00
Fixed #781
This commit is contained in:
parent
477f5cd856
commit
449b33d731
@ -193,9 +193,6 @@ open class GlobalSearchController(
|
|||||||
customTitle = view.context?.getString(R.string.loading)
|
customTitle = view.context?.getString(R.string.loading)
|
||||||
setTitle()
|
setTitle()
|
||||||
}
|
}
|
||||||
binding.recycler.post {
|
|
||||||
binding.recycler.scrollToPosition(0)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onDestroyView(view: View) {
|
override fun onDestroyView(view: View) {
|
||||||
|
@ -198,7 +198,7 @@ fun Controller.scrollViewWith(
|
|||||||
var fakeBottomNavView: View? = null
|
var fakeBottomNavView: View? = null
|
||||||
if (!customPadding) {
|
if (!customPadding) {
|
||||||
recycler.updatePaddingRelative(
|
recycler.updatePaddingRelative(
|
||||||
top = activityBinding!!.toolbar.y.toInt() + appBarHeight
|
top = (toolbarHeight ?: 0) + appBarHeight
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
recycler.doOnApplyWindowInsets { view, insets, _ ->
|
recycler.doOnApplyWindowInsets { view, insets, _ ->
|
||||||
|
Loading…
Reference in New Issue
Block a user