refactor: window loses focus to hide the window (#221)

This commit is contained in:
ayangweb
2025-02-27 16:08:29 +08:00
committed by GitHub
parent 20fa95424f
commit 8e4e249355

View File

@@ -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 = () => {