refactor: simplify stopOpenTabletDriver, cleanup code

This commit is contained in:
HorizonCode committed 2026-05-26 10:33:14 +02:00
1 parent 5b1e32d4eb
commit cc4697efbc
3 files changed
+106 -119

No files matched your search

+1 -1
View File
@@ -148,4 +148,4 @@ export const getSkins = async (folder: string) =>
);
export const startOpenTabletDriver = async (otdDaemonPath: string) =>
await invoke('run_open_tablet_driver', { path: otdDaemonPath });
export const stopOpenTabletDriver = async (otdDaemonPath: string) => await invoke('stop_open_tablet_driver', { path: otdDaemonPath });
export const stopOpenTabletDriver = async () => await invoke('stop_open_tablet_driver');