small cleanups
This commit is contained in:
parent
721727d48c
commit
c7b89b8e56
2 changed files with 14 additions and 8 deletions
|
|
@ -71,7 +71,7 @@ final class ChatScroll<T>({
|
|||
if (position.extentAfter <= topThreshold) {
|
||||
await loadOlder();
|
||||
} else if (position.extentBefore <= bottomThreshold) {
|
||||
onReachedBottom();
|
||||
await onReachedBottom();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue