From 8e4e2493552d477dfdb80c00d15f48ea59c1e8c2 Mon Sep 17 00:00:00 2001 From: ayangweb <75017711+ayangweb@users.noreply.github.com> Date: Thu, 27 Feb 2025 16:08:29 +0800 Subject: [PATCH] refactor: window loses focus to hide the window (#221) --- src/pages/main/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/main/index.tsx b/src/pages/main/index.tsx index 2ccdcaea..f9b1ab2d 100644 --- a/src/pages/main/index.tsx +++ b/src/pages/main/index.tsx @@ -30,9 +30,9 @@ export default function DesktopApp() { return; } - // invoke("hide_coco").then(() => { - // console.log("Hide Coco"); - // }); + invoke("hide_coco").then(() => { + console.log("Hide Coco"); + }); }; const handleFocus = () => {