Skip to content

Commit

Permalink
fix(app): sort fansub with cache
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Oct 8, 2023
1 parent 08d8f74 commit 3bd6b07
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/app/src/logic/prefer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ document.addEventListener('astro:page-load', () => {
const fansub = new Set([...filter.fansubId, ...preferFansubs.get()].filter(Boolean));
preferFansubs.set(fansub);
reorderFansub(fansub);
return;
}
}
reorderFansub(preferFansubs.get());
});

export function reorderFansub(order: Set<number>) {
Expand Down

0 comments on commit 3bd6b07

Please sign in to comment.