actually check the promise
This commit is contained in:
parent
df8d884d91
commit
4044ac56c5
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,9 @@ export class TimelineList extends ListView {
|
|||
}
|
||||
|
||||
async _loadAtTopWhile(predicate) {
|
||||
if (this._topLoadingPromise) {
|
||||
return;
|
||||
}
|
||||
try {
|
||||
while (predicate()) {
|
||||
// fill, not enough content to fill timeline
|
||||
|
|
Reference in a new issue