This commit is contained in:
Horis
2025-10-02 21:15:55 +08:00
parent e3e0894b15
commit cfb0f969a0
@@ -257,7 +257,8 @@ class SearchActivity : VMBaseActivity<ActivityBookSearchBinding, SearchViewModel
scrollToBottom() scrollToBottom()
return return
} }
val bottom = abs(lastView.bottom - recyclerView.height) val bottom =
abs(lastView.bottom - recyclerView.height) - recyclerView.paddingBottom
if (bottom <= 1) { if (bottom <= 1) {
scrollToBottom() scrollToBottom()
} }