Skip to content

Commit

Permalink
flash frame only
Browse files Browse the repository at this point in the history
  • Loading branch information
averissimo committed Jul 7, 2020
1 parent d84226a commit 8093159
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ui/views/notifications.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ module.exports = (models) ->
if (!notifierSupportsSound || viewstate.forceCustomSound) && !viewstate.muteSoundNotification && audioEl.paused
audioEl.play()
if process.platform is 'win32'
if not mainWindow.isVisible()
mainWindow.showInactive()
mainWindow.minimize()
#if not mainWindow.isVisible()
# mainWindow.showInactive()
# mainWindow.minimize()
mainWindow.flashFrame(true)

textMessage = (cont, proxied, showMessage = true) ->
Expand Down

0 comments on commit 8093159

Please sign in to comment.