mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: close theme editor if the theme was deleted
This commit is contained in:
parent
d91d8dd26f
commit
964e9bbb2b
7 changed files with 30 additions and 0 deletions
|
@ -358,4 +358,6 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
ipcRenderer.on("css-injected", listener);
|
||||
return () => ipcRenderer.removeListener("css-injected", listener);
|
||||
},
|
||||
closeEditorWindow: (themeId?: string) =>
|
||||
ipcRenderer.invoke("closeEditorWindow", themeId),
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue