mirror of
https://github.com/Eugeny/tabby.git
synced 2025-06-08 05:20:01 +00: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
|
h3.mb-3(translate) Color schemes
|
||||||
|
|
||||||
.form-line
|
.form-line.mb-4
|
||||||
.header
|
.header
|
||||||
.title(translate) Switch color scheme
|
.title(translate) Switch color scheme
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
import { Component } from '@angular/core'
|
import { Component } from '@angular/core'
|
||||||
import { PlatformService } from 'tabby-core'
|
import { ConfigService, PlatformService } from 'tabby-core'
|
||||||
|
|
||||||
/** @hidden */
|
/** @hidden */
|
||||||
@Component({
|
@Component({
|
||||||
@ -10,6 +10,7 @@ export class ColorSchemeSettingsTabComponent {
|
|||||||
|
|
||||||
constructor (
|
constructor (
|
||||||
platform: PlatformService,
|
platform: PlatformService,
|
||||||
|
public config: ConfigService,
|
||||||
) {
|
) {
|
||||||
this.defaultTab = platform.getTheme()
|
this.defaultTab = platform.getTheme()
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user