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 }