feature: notify newMessage if window is blurred or closed
This commit is contained in:
parent
95e73f7c28
commit
515f67a120
7 changed files with 34 additions and 18 deletions
|
|
@ -65,7 +65,7 @@ export const postNavBar = (payload: string): void => (
|
|||
*
|
||||
*/
|
||||
|
||||
export const postWindowBlur = (payload: { isFocused: boolean }): void => (
|
||||
export const postWindowFocus = (payload: { isFocused: boolean }): void => (
|
||||
post('post-window-focus', payload)
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue