From dc9a7d8fac5aeff71538712ff54fdd7ad56a2808 Mon Sep 17 00:00:00 2001 From: Eugene Date: Tue, 29 Aug 2023 22:41:03 +0200 Subject: [PATCH] fixed #8886 - crash on the color schemes settings tab --- .../src/components/colorSchemeSettingsTab.component.pug | 2 +- .../src/components/colorSchemeSettingsTab.component.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tabby-terminal/src/components/colorSchemeSettingsTab.component.pug b/tabby-terminal/src/components/colorSchemeSettingsTab.component.pug index 1f9ffbf4..ec2a034f 100644 --- a/tabby-terminal/src/components/colorSchemeSettingsTab.component.pug +++ b/tabby-terminal/src/components/colorSchemeSettingsTab.component.pug @@ -1,6 +1,6 @@ h3.mb-3(translate) Color schemes -.form-line +.form-line.mb-4 .header .title(translate) Switch color scheme diff --git a/tabby-terminal/src/components/colorSchemeSettingsTab.component.ts b/tabby-terminal/src/components/colorSchemeSettingsTab.component.ts index dc2d849f..71e0aa40 100644 --- a/tabby-terminal/src/components/colorSchemeSettingsTab.component.ts +++ b/tabby-terminal/src/components/colorSchemeSettingsTab.component.ts @@ -1,5 +1,5 @@ import { Component } from '@angular/core' -import { PlatformService } from 'tabby-core' +import { ConfigService, PlatformService } from 'tabby-core' /** @hidden */ @Component({ @@ -10,6 +10,7 @@ export class ColorSchemeSettingsTabComponent { constructor ( platform: PlatformService, + public config: ConfigService, ) { this.defaultTab = platform.getTheme() }