fix(desktop): fix cannot flashframe problem

pull/146/head
moonrailgun 2 years ago
parent 464fd7c9f8
commit 7cdbe45954

@ -1,6 +1,6 @@
{
"name": "tailchat-desktop",
"version": "0.0.4",
"version": "0.0.5",
"description": "A foundation for scalable desktop apps",
"license": "MIT",
"author": {

@ -22,7 +22,7 @@ export function handleTailchatMessage(
}
if (type === 'receiveUnmutedMessage') {
if (!win.isFocused) {
if (!win.isFocused()) {
win.flashFrame(true);
}
return;

Loading…
Cancel
Save