mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-18 16:53:57 +00:00
lint
This commit is contained in:
@@ -4,7 +4,7 @@ import { WindowManager } from "@main/services";
|
||||
const importTheme = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
theme: string,
|
||||
author: string,
|
||||
author: string
|
||||
) => {
|
||||
WindowManager.mainWindow?.webContents.send("import-theme", theme, author);
|
||||
};
|
||||
|
||||
@@ -92,7 +92,11 @@ const handleDeepLinkPath = (uri?: string) => {
|
||||
const authorCode = url.searchParams.get("author");
|
||||
|
||||
if (themeName && authorCode) {
|
||||
WindowManager.mainWindow?.webContents.send("import-theme", themeName, authorCode);
|
||||
WindowManager.mainWindow?.webContents.send(
|
||||
"import-theme",
|
||||
themeName,
|
||||
authorCode
|
||||
);
|
||||
}
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user