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

View File

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

View File

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