mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
perf(chatScroll): Prepare more data for scroll
This commit is contained in:
parent
719e0a34f6
commit
e44427ceed
@ -51,7 +51,7 @@ Item {
|
||||
readonly property var chatDetails: chatContentModule.chatDetails || null
|
||||
|
||||
readonly property var loadMoreMessagesIfScrollBelowThreshold: Backpressure.oneInTime(root, 500, function() {
|
||||
if(scrollY < 500) messageStore.loadMoreMessages()
|
||||
if(scrollY < 1000) messageStore.loadMoreMessages()
|
||||
})
|
||||
|
||||
function markAllMessagesReadIfMostRecentMessageIsInViewport() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user