mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-27 06:00:26 +08:00
fixed #8886 - crash on the color schemes settings tab
This commit is contained in:
parent
0becf8cc76
commit
dc9a7d8fac
@ -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 New Issue
Block a user