titlebar
This commit is contained in:
parent
58feeb3529
commit
66bb90dda6
|
@ -1,6 +1,6 @@
|
||||||
<div id="app-container">
|
<div id="app-container">
|
||||||
<div id="app-chrome" class="focused">
|
<div id="app-chrome" class="focused">
|
||||||
<app-title-bar *ngIf="__WIN32__"></app-title-bar>
|
<app-title-bar *ngIf="showTitleBar"></app-title-bar>
|
||||||
<div id="app-contents">
|
<div id="app-contents">
|
||||||
<router-outlet></router-outlet>
|
<router-outlet></router-outlet>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -8,11 +8,12 @@ import { ElectronProxyService } from '../commons/service/electron-proxy.service'
|
||||||
})
|
})
|
||||||
export class AppComponent implements OnInit {
|
export class AppComponent implements OnInit {
|
||||||
title = 'scanner-app';
|
title = 'scanner-app';
|
||||||
|
showTitleBar: boolean;
|
||||||
|
|
||||||
public constructor(
|
public constructor(
|
||||||
private electronProxyService: ElectronProxyService,
|
private electronProxyService: ElectronProxyService,
|
||||||
) {
|
) {
|
||||||
|
this.showTitleBar = __WIN32__;
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user