mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 22:36:24 +00:00
perf(chatScroll): Reduce loadMoreMessagesIfScrollBelowThreshold to 100.
This commit is contained in:
parent
27bb6bf665
commit
54e91e0ba7
@ -50,7 +50,7 @@ Item {
|
||||
readonly property bool isMostRecentMessageInViewport: chatLogView.visibleArea.yPosition >= 0.999 - chatLogView.visibleArea.heightRatio
|
||||
readonly property var chatDetails: chatContentModule.chatDetails || null
|
||||
|
||||
readonly property var loadMoreMessagesIfScrollBelowThreshold: Backpressure.oneInTime(root, 500, function() {
|
||||
readonly property var loadMoreMessagesIfScrollBelowThreshold: Backpressure.oneInTime(root, 100, function() {
|
||||
if(scrollY < 1000) messageStore.loadMoreMessages()
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user