diff --git a/src/main/mainWindow.ts b/src/main/mainWindow.ts index 8df9841..167e682 100644 --- a/src/main/mainWindow.ts +++ b/src/main/mainWindow.ts @@ -21,7 +21,7 @@ import { isTruthy } from "shared/utils/guards"; import { once } from "shared/utils/once"; import type { SettingsStore } from "shared/utils/SettingsStore"; -import { ICON_PATH, SPEAKING_ICON_PATH, MUTED_ICON_PATH, DEAFENED_ICON_PATH, IDLE_ICON_PATH } from "../shared/paths"; +import { DEAFENED_ICON_PATH, ICON_PATH, IDLE_ICON_PATH, MUTED_ICON_PATH, SPEAKING_ICON_PATH } from "../shared/paths"; import { createAboutWindow } from "./about"; import { initArRPC } from "./arrpc"; import { diff --git a/src/renderer/patches/tray.ts b/src/renderer/patches/tray.ts index 390428e..10a02ef 100644 --- a/src/renderer/patches/tray.ts +++ b/src/renderer/patches/tray.ts @@ -1,10 +1,10 @@ /* * SPDX-License-Identifier: GPL-3.0 * Vesktop, a desktop app aiming to give you a snappier Discord Experience - * Copyright (c) 2024 Vendicated and Vencord contributors + * Copyright (c) 2023 Vendicated and Vencord contributors */ -import { findByPropsLazy, findStoreLazy, onceReady } from "@vencord/types/webpack"; +import { findByPropsLazy, onceReady } from "@vencord/types/webpack"; import { FluxDispatcher, UserStore } from "@vencord/types/webpack/common"; const logger = new Vencord.Util.Logger("VesktopTray"); @@ -50,9 +50,9 @@ onceReady.then(() => { }); FluxDispatcher.subscribe("RTC_CONNECTION_STATE", params => { - if (params.state == "RTC_CONNECTED") { + if (params.state === "RTC_CONNECTED") { VesktopNative.app.setTrayIcon("idle"); - } else if (params.state == "RTC_DISCONNECTED") { + } else if (params.state === "RTC_DISCONNECTED") { VesktopNative.app.setTrayIcon("main"); } });