mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-23 02:41:02 +00:00
12 lines
338 B
TypeScript
12 lines
338 B
TypeScript
import { registerEvent } from "../register-event";
|
|
import { LocalNotificationManager } from "@main/services";
|
|
|
|
const deleteLocalNotification = async (
|
|
_event: Electron.IpcMainInvokeEvent,
|
|
id: string
|
|
) => {
|
|
await LocalNotificationManager.deleteNotification(id);
|
|
};
|
|
|
|
registerEvent("deleteLocalNotification", deleteLocalNotification);
|