From 087bafb2c06c2114436611bf8b752f1389e0e51e Mon Sep 17 00:00:00 2001 From: retrozinndev Date: Sun, 28 Sep 2025 13:49:34 -0300 Subject: [PATCH] :boom: fix(osd): use `OSDMode` as a parameter instead of function --- src/window/osd/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window/osd/index.tsx b/src/window/osd/index.tsx index 1f67272..c90e154 100644 --- a/src/window/osd/index.tsx +++ b/src/window/osd/index.tsx @@ -84,7 +84,7 @@ export const OSD = (mon: number) => ; -export function triggerOSD(mode: () => OSDMode) { +export function triggerOSD(mode: OSDMode) { setOSDMode(mode); Windows.getDefault().open("osd");