From 92a7da38ea724ea5009255df97cb97e83e014ad8 Mon Sep 17 00:00:00 2001 From: Will Hunt Date: Tue, 15 Jul 2025 15:35:08 +0100 Subject: [PATCH] lint --- src/tray.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tray.ts b/src/tray.ts index 0ee9f002c4..72ceeaa5d5 100644 --- a/src/tray.ts +++ b/src/tray.ts @@ -7,7 +7,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Com Please see LICENSE files in the repository root for full details. */ -import { app, Tray, Menu, nativeImage, ipcMain, IpcMainEvent } from "electron"; +import { app, Tray, Menu, nativeImage, ipcMain, type IpcMainEvent } from "electron"; import { v5 as uuidv5 } from "uuid"; import { _t } from "./language-helper.js"; @@ -102,7 +102,7 @@ export function create(config: IConfig): void { if (favicons[0] === lastFavicon) return; lastFavicon = favicons[0]; - let newFavicon = nativeImage.createFromDataURL(favicons[0]); + const newFavicon = nativeImage.createFromDataURL(favicons[0]); trayIcon?.setImage(newFavicon); global.mainWindow?.setIcon(newFavicon); });