mirror of
https://github.com/Eugeny/tabby
synced 2024-11-14 08:57:21 +00:00
fixed #8886 - crash on the color schemes settings tab
This commit is contained in:
parent
0becf8cc76
commit
dc9a7d8fac
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
h3.mb-3(translate) Color schemes
|
||||
|
||||
.form-line
|
||||
.form-line.mb-4
|
||||
.header
|
||||
.title(translate) Switch color scheme
|
||||
|
||||
|
|
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue