fixed #8886 - crash on the color schemes settings tab

This commit is contained in:
Eugene 2023-08-29 22:41:03 +02:00
parent 0becf8cc76
commit dc9a7d8fac
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4
2 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
h3.mb-3(translate) Color schemes
.form-line
.form-line.mb-4
.header
.title(translate) Switch color scheme

View File

@ -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()
}