mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-11-04 05:53:21 +00:00 
			
		
		
		
	Added flashing the taskbar icon #167
on windows, taskbar icon will flash on incoming messages
This commit is contained in:
		@@ -218,6 +218,11 @@ app.on('ready', () => {
 | 
			
		||||
		if (process.platform === 'darwin') {
 | 
			
		||||
			app.setBadgeCount(messageCount);
 | 
			
		||||
		}
 | 
			
		||||
		if (process.platform === 'win32') {
 | 
			
		||||
			if (!mainWindow.isFocused()) {
 | 
			
		||||
				mainWindow.flashFrame(true);
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		page.send('tray', messageCount);
 | 
			
		||||
	});
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user