This commit is contained in:
sunny 2018-08-17 12:35:19 +09:00
parent 58feeb3529
commit 66bb90dda6
2 changed files with 3 additions and 2 deletions

View File

@ -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>

View File

@ -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 {