diff --git a/lib/api.ts b/lib/api.ts index f9945d2..50e2375 100644 --- a/lib/api.ts +++ b/lib/api.ts @@ -110,6 +110,9 @@ export const API = new class { await FASTFILTER.init(); await FASTFILTER.push(selected.fast); } + if (typeof selected.type === "string") { + await Prefs.set("last-type", selected.type); + } const {items} = selected; delete selected.items; return await this.queue(items, selected);