mirror of
https://github.com/infinilabs/coco-app.git
synced 2026-08-29 10:09:30 +02:00
refactor: window loses focus to hide the window (#221)
This commit is contained in:
@@ -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 = () => {
|
||||
|
||||
Reference in New Issue
Block a user