remove if horror
This commit is contained in:
		
							parent
							
								
									cdce21e7eb
								
							
						
					
					
						commit
						6af88e0432
					
				
					 1 changed files with 1 additions and 9 deletions
				
			
		|  | @ -42,15 +42,7 @@ export function setBadgeCount(count: number) { | |||
|                     `{\'count\': <int64 ${count}>, \'count-visible\': <${visible}>}` | ||||
|                 ]); | ||||
|             } | ||||
|             if (count === 0) { | ||||
|                 emitDBusBadge(count, false); | ||||
|                 break; | ||||
|             } | ||||
|             if (count === -1) { | ||||
|                 emitDBusBadge(0, true); | ||||
|                 break; | ||||
|             } | ||||
|             emitDBusBadge(count, true); | ||||
|             emitDBusBadge(count === -1 ? 0 : count, count !== 0); | ||||
|             break; | ||||
|         case "darwin": | ||||
|             if (count === 0) { | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Cookie
						Cookie