mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-11-20 06:09:19 +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)
|
||||
setTitle()
|
||||
}
|
||||
binding.recycler.post {
|
||||
binding.recycler.scrollToPosition(0)
|
||||
}
|
||||
}
|
||||
|
||||
override fun onDestroyView(view: View) {
|
||||
|
@ -198,7 +198,7 @@ fun Controller.scrollViewWith(
|
||||
var fakeBottomNavView: View? = null
|
||||
if (!customPadding) {
|
||||
recycler.updatePaddingRelative(
|
||||
top = activityBinding!!.toolbar.y.toInt() + appBarHeight
|
||||
top = (toolbarHeight ?: 0) + appBarHeight
|
||||
)
|
||||
}
|
||||
recycler.doOnApplyWindowInsets { view, insets, _ ->
|
||||
|
Loading…
Reference in New Issue
Block a user