mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-24 19:31:03 +00:00
9 lines
289 B
TypeScript
9 lines
289 B
TypeScript
import { registerEvent } from "../register-event";
|
|
import { LocalNotificationManager } from "@main/services";
|
|
|
|
const getLocalNotificationsCount = async () => {
|
|
return LocalNotificationManager.getUnreadCount();
|
|
};
|
|
|
|
registerEvent("getLocalNotificationsCount", getLocalNotificationsCount);
|