From b7a0d1face086183b5af151421db4b60abf4591d Mon Sep 17 00:00:00 2001 From: smartfrigde <37928912+smartfrigde@users.noreply.github.com> Date: Thu, 16 Jun 2022 17:31:42 +0200 Subject: [PATCH] formatting --- src/tray.ts | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/tray.ts b/src/tray.ts index 2e22278..331b71f 100644 --- a/src/tray.ts +++ b/src/tray.ts @@ -1,9 +1,9 @@ -import {app, Menu, Tray} from "electron"; -import {mainWindow} from "./window"; -import {getConfig, setWindowState} from "./utils"; +import { app, Menu, Tray } from "electron"; +import { mainWindow } from "./window"; +import { getConfig, setWindowState } from "./utils"; import * as path from "path"; -import {createSettingsWindow} from "./settings/main"; -import {platform} from "process"; +import { createSettingsWindow } from "./settings/main"; +import { platform } from "process"; let tray: any = null; let defaultIcon = "ac_plug_colored"; app.whenReady().then(async () => { @@ -23,11 +23,11 @@ app.whenReady().then(async () => { label: "Quit ArmCord", click: function () { let [width, height] = mainWindow.getSize() - setWindowState({ - width: width, - height: height, - isMaximized: mainWindow.isMaximized() - }) + setWindowState({ + width: width, + height: height, + isMaximized: mainWindow.isMaximized() + }) app.quit(); } } @@ -71,11 +71,11 @@ app.whenReady().then(async () => { label: "Quit ArmCord", click: function () { let [width, height] = mainWindow.getSize() - setWindowState({ - width: width, - height: height, - isMaximized: mainWindow.isMaximized() - }) + setWindowState({ + width: width, + height: height, + isMaximized: mainWindow.isMaximized() + }) app.quit(); } }