diff --git a/src/lib/title.ts b/src/lib/title.ts index 04af32e2..ab42e73f 100644 --- a/src/lib/title.ts +++ b/src/lib/title.ts @@ -33,6 +33,10 @@ export const action: Action = ( } return { + update(updated) { + title = updated.title + shortcut = updated.shortcut + }, destroy() { tooltip.destroy() hotkeys.unbind(shortcut)