From 539c213ef660d10e05a0ee796201fae764394f12 Mon Sep 17 00:00:00 2001 From: Evan / Fero Date: Fri, 14 Jul 2023 12:15:53 -0700 Subject: [PATCH] Fix: linting errors --- app/lib/window.ts | 4 ++-- tabby-electron/src/index.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/lib/window.ts b/app/lib/window.ts index 05df32ac..3f6e05ea 100644 --- a/app/lib/window.ts +++ b/app/lib/window.ts @@ -398,14 +398,14 @@ export class Window { } // let color: string = theme.backgroundMore - let symbolColor: string = theme.foreground + const symbolColor: string = theme.foreground this.window.setTitleBarOverlay( { // color: '#00000000', symbolColor: symbolColor, height: 32, - } + }, ) }) diff --git a/tabby-electron/src/index.ts b/tabby-electron/src/index.ts index 3034e9c8..5664b613 100644 --- a/tabby-electron/src/index.ts +++ b/tabby-electron/src/index.ts @@ -175,7 +175,7 @@ export default class ElectronModule { private updateWindowControlsColor () { // if windows and not using native frame, WCO does not exist, return. - if (this.hostApp.platform === Platform.Windows && this.config.store.appearance.frame == "native") { + if (this.hostApp.platform === Platform.Windows && this.config.store.appearance.frame === 'native') { return }