Add network to preview headers & inc font size

This commit is contained in:
Mononaut
2022-09-09 18:14:16 +00:00
parent 1a8102f91c
commit 4fb77a9a45
10 changed files with 52 additions and 7 deletions

View File

@@ -0,0 +1,20 @@
import { Component, OnInit } from '@angular/core';
import { StateService } from '../../services/state.service';
import { Observable, merge, of } from 'rxjs';
@Component({
selector: 'app-preview-title',
templateUrl: './preview-title.component.html',
styleUrls: [],
})
export class PreviewTitleComponent implements OnInit {
network$: Observable<string>;
constructor(
public stateService: StateService,
) { }
ngOnInit() {
this.network$ = merge(of(''), this.stateService.networkChanged$);
}
}