Skip to content

Commit

Permalink
fixed #8886 - crash on the color schemes settings tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugeny committed Aug 29, 2023
1 parent 0becf8c commit dc9a7d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
h3.mb-3(translate) Color schemes

.form-line
.form-line.mb-4
.header
.title(translate) Switch color scheme

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component } from '@angular/core'
import { PlatformService } from 'tabby-core'
import { ConfigService, PlatformService } from 'tabby-core'

/** @hidden */
@Component({
Expand All @@ -10,6 +10,7 @@ export class ColorSchemeSettingsTabComponent {

constructor (
platform: PlatformService,
public config: ConfigService,
) {
this.defaultTab = platform.getTheme()
}
Expand Down

0 comments on commit dc9a7d8

Please sign in to comment.