(win: BrowserWindow | null | undefined, color: string)
| 36 | } |
| 37 | |
| 38 | export function applyTitleBarOverlayColor(win: BrowserWindow | null | undefined, color: string): void { |
| 39 | currentTitleBarOverlayColor = color |
| 40 | win?.setTitleBarOverlay(getTitleBarOverlayOptionsForColor(color)) |
| 41 | } |
| 42 | |
| 43 | export function resetCurrentTitleBarOverlayColor(): void { |
| 44 | currentTitleBarOverlayColor = null |
no test coverage detected