mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 11:21:46 +00:00
feat: run prettier
This commit is contained in:
@ -12,7 +12,10 @@ import type { MenuTemplate } from './menu';
|
||||
// Prevent tray being garbage collected
|
||||
let tray: Electron.Tray | undefined;
|
||||
|
||||
type TrayEvent = (event: Electron.KeyboardEvent, bounds: Electron.Rectangle) => void;
|
||||
type TrayEvent = (
|
||||
event: Electron.KeyboardEvent,
|
||||
bounds: Electron.Rectangle,
|
||||
) => void;
|
||||
|
||||
export const setTrayOnClick = (fn: TrayEvent) => {
|
||||
if (!tray) {
|
||||
|
||||
Reference in New Issue
Block a user