feat(quick-pane): refine spotlight workflow

This commit is contained in:
2026-08-25 19:14:30 +02:00
parent dd23898769
commit 67063464e7
11 changed files with 418 additions and 113 deletions
+4 -1
View File
@@ -42,7 +42,10 @@ export async function loadPresentation() {
return invoke<UiState>("load_ui_state");
}
export async function savePresentation(state: UiState) {
await invoke("save_ui_state", { state });
const current = await loadPresentation();
await invoke("save_ui_state", {
state: { ...state, quickPane: current.quickPane },
});
}
export function legacyPreferences(storage: Pick<Storage, "getItem">) {
const path = storage.getItem(selectedPathKey) ?? undefined;