fix build issue in setup wiz

This commit is contained in:
Matt Hill
2021-11-10 19:20:48 -07:00
committed by Aiden McClelland
parent 060a12fe17
commit 15063af0e5
3 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
<div style="padding-bottom: 32px;"> <div style="padding-bottom: 32px;">
<img src="assets/png/logo.png" style="max-width: 240px;" /> <img src="assets/png/logo.png" style="max-width: 240px;" />
</div> </div>
<success (dl)="download($event)"></success> <success (onDownload)="download()"></success>
<ion-card *ngIf="!stateService.embassyLoaded" color="dark"> <ion-card *ngIf="!stateService.embassyLoaded" color="dark">
<ion-card-header> <ion-card-header>
<ion-card-title style="font-size: 40px;">Initializing Embassy</ion-card-title> <ion-card-title style="font-size: 40px;">Initializing Embassy</ion-card-title>

View File

@@ -13,7 +13,7 @@ export class InitPage {
showSuccess = false showSuccess = false
constructor ( constructor (
private readonly stateService: StateService, public readonly stateService: StateService,
) { } ) { }
ngOnInit () { ngOnInit () {

View File

@@ -8,7 +8,7 @@ import { StateService } from 'src/app/services/state.service'
styleUrls: ['success.page.scss'], styleUrls: ['success.page.scss'],
}) })
export class SuccessPage { export class SuccessPage {
@Output() dl = new EventEmitter() @Output() onDownload = new EventEmitter()
torOpen = true torOpen = true
lanOpen = false lanOpen = false
@@ -42,7 +42,7 @@ export class SuccessPage {
} }
download () { download () {
this.dl.emit(null) this.onDownload.emit()
} }
private async copyToClipboard (str: string): Promise<boolean> { private async copyToClipboard (str: string): Promise<boolean> {