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