turns out electron13 has no array.at()

main
Vendicated 2 years ago
parent a73e10fc77
commit 5fe04c5882
No known key found for this signature in database
GPG Key ID: EC781ADFB93EFFA3

@ -89,7 +89,7 @@ function getNextMessage(isUp: boolean, isReply: boolean) {
else
editIdx = i = mutate(editIdx);
return i === - 1 ? undefined : messages.at(-i - 1);
return i === - 1 ? undefined : messages[messages.length - i - 1];
}
// handle next/prev reply

Loading…
Cancel
Save