1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

fix ipc return types

This commit is contained in:
bbedward
2025-09-04 15:59:27 -04:00
parent 3c3cffd7b6
commit 54b63a1f5f
6 changed files with 21 additions and 21 deletions

View File

@@ -60,17 +60,17 @@ DankModal {
}
IpcHandler {
function open() {
function open(): string {
notificationModal.show();
return "NOTIFICATION_MODAL_OPEN_SUCCESS";
}
function close() {
function close(): string {
notificationModal.hide();
return "NOTIFICATION_MODAL_CLOSE_SUCCESS";
}
function toggle() {
function toggle(): string {
notificationModal.toggle();
return "NOTIFICATION_MODAL_TOGGLE_SUCCESS";
}