From 26cd8e8a006a83f64df65aad0a9da18af432a1fe Mon Sep 17 00:00:00 2001 From: Nils Maier Date: Sun, 25 Aug 2019 20:47:34 +0200 Subject: [PATCH] Actually store the last-type --- lib/api.ts | 3 +++ 1 file changed, 3 insertions(+) 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);