Merge pull request #5073 from mempool/simon/fix-themeservice-not-loaded

Fix themeService not loaded
This commit is contained in:
softsimon 2024-05-14 22:26:52 +07:00 committed by GitHub
commit cc9e4f2d43
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,6 +4,7 @@ import { Router, NavigationEnd } from '@angular/router';
import { StateService } from '../../services/state.service';
import { OpenGraphService } from '../../services/opengraph.service';
import { NgbTooltipConfig } from '@ng-bootstrap/ng-bootstrap';
import { ThemeService } from '../../services/theme.service';
@Component({
selector: 'app-root',
@ -18,6 +19,7 @@ export class AppComponent implements OnInit {
public router: Router,
private stateService: StateService,
private openGraphService: OpenGraphService,
private themeService: ThemeService,
private location: Location,
tooltipConfig: NgbTooltipConfig,
@Inject(LOCALE_ID) private locale: string,