fix(downloads): Fix rearranging download queue throwing error

This commit is contained in:
quexeky
2025-01-25 23:20:31 +11:00
parent dca5f65e89
commit 501145c5d9
3 changed files with 12 additions and 6 deletions

View File

@ -167,7 +167,7 @@ function loadGamesForQueue(v: typeof queue.value) {
loadGamesForQueue(queue.value);
async function onEnd(event: { oldIndex: number; newIndex: number }) {
await invoke("move_game_in_queue", {
await invoke("move_download_in_queue", {
oldIndex: event.oldIndex,
newIndex: event.newIndex,
});