diff --git a/package.json b/package.json index b49d48c0..5b63c9e5 100644 --- a/package.json +++ b/package.json @@ -120,4 +120,4 @@ "browser" ] } -} +} \ No newline at end of file diff --git a/src/app/home/home.page.ts b/src/app/home/home.page.ts index c428ec02..5b059564 100644 --- a/src/app/home/home.page.ts +++ b/src/app/home/home.page.ts @@ -46,17 +46,18 @@ export class HomePage { this.editContact.push(false); } this.qrData = JSON.stringify(this.profile.getQrCodes).substr(0,100); - if (this.profile.getFirst) { - console.log('profile'); - this.presentAlert(); - } this.searchKeyword = ""; console.log(this.editContact); }); } }); } - + ionViewDidEnter(){ + if (this.profile.getFirst) { + console.log('profile'); + this.presentAlert(); + } + } deleteContact(cont: backend.contact) { // console.log(cont); this.firebase.deleteFromUserContacts(cont);