-
-
-
-
{{iteml.title}}
-
{{iteml.description}}
+
+
+
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+
+
+ {{iteml.title}}
+ {{iteml.description}}
+
+
+
+
-
-
-
+
+
-
-
-
-
-
- Return
-
-
-
+
+
+
+
+
+
+
diff --git a/src/app/pages-family/playground/playground.page.scss b/src/app/pages-family/playground/playground.page.scss
index 1c3cf7a..bd4f5ba 100644
--- a/src/app/pages-family/playground/playground.page.scss
+++ b/src/app/pages-family/playground/playground.page.scss
@@ -155,9 +155,10 @@ ion-content {
}
.men_image {
- height: 40px;
- width: 40px;
+ height: 50px;
+ width: 50px;
border-radius: 100%;
+ min-width: 50px;
}
.text {
diff --git a/src/app/pages/familysettings/familysettings.module.ts b/src/app/pages/familysettings/familysettings.module.ts
index f7e0d33..f5ca706 100644
--- a/src/app/pages/familysettings/familysettings.module.ts
+++ b/src/app/pages/familysettings/familysettings.module.ts
@@ -7,6 +7,7 @@ import { IonicModule } from '@ionic/angular';
import { FamilysettingsPageRoutingModule } from './familysettings-routing.module';
import { FamilysettingsPage } from './familysettings.page';
+import {AddFamilyComponent} from "../../components/add-family/add-family.component";
@NgModule({
imports: [
@@ -15,6 +16,6 @@ import { FamilysettingsPage } from './familysettings.page';
IonicModule,
FamilysettingsPageRoutingModule
],
- declarations: [FamilysettingsPage]
+ declarations: [FamilysettingsPage,AddFamilyComponent]
})
export class FamilysettingsPageModule {}
diff --git a/src/app/pages/familysettings/familysettings.page.html b/src/app/pages/familysettings/familysettings.page.html
index 9b07567..92fd041 100644
--- a/src/app/pages/familysettings/familysettings.page.html
+++ b/src/app/pages/familysettings/familysettings.page.html
@@ -21,9 +21,11 @@
- Add Family
+ Family
- Adding New Member
+
diff --git a/src/app/pages/startscan/startscan.page.ts b/src/app/pages/startscan/startscan.page.ts
index f7e18b4..fd79ca0 100644
--- a/src/app/pages/startscan/startscan.page.ts
+++ b/src/app/pages/startscan/startscan.page.ts
@@ -1,5 +1,5 @@
import { Component, OnInit } from '@angular/core';
-import {AlertController, NavController} from "@ionic/angular";
+import {AlertController, LoadingController, NavController} from "@ionic/angular";
import {Router} from "@angular/router";
import { BarcodeScanner } from '@capacitor-community/barcode-scanner';
import {WrenchService} from "../../services/wrench.service";
@@ -21,6 +21,7 @@ export class StartscanPage implements OnInit {
private wrenchService: WrenchService,
public sessionDataProviderService:SessionDataProviderService,
public blogDataService:BlogDataService,
+ private loadingCtrl: LoadingController,
private alertController: AlertController
) { }
loginResult: any;
@@ -40,18 +41,24 @@ export class StartscanPage implements OnInit {
action: number,
login_mode: number
};
- startQRLogin(qrString) {
+ async startQRLogin(qrString) {
if (qrString == null || qrString == '' ) {
return;
}
+ const loading = await this.loadingCtrl.create({
+ message: 'Connecting your account...',
+ duration: 6000
+ });
// alert(qrString);
this.loginQrData = { username: qrString,
sessionid: 'DUMMY-APP-SESSION-STARTER',
action: 11022,
login_mode: 1105 };
// alert(1000);
+ loading.present();
this.wrenchService.qrLoginUser(this.loginQrData).subscribe(
loginResult => {
+ loading.dismiss();
// alert("Here 00009");
this.loginResult = loginResult;
console.log("INTERNAL RETURN->" + this.loginResult.internal_return);