From 0fb3565ec3fe73e23426f138124cf5924bf84198 Mon Sep 17 00:00:00 2001 From: IAM5K Date: Fri, 5 Apr 2024 15:29:48 +0530 Subject: [PATCH 1/2] update: study type update and fix for from and to --- src/app/models/data/studyOptions.data.ts | 2 ++ src/app/pages/studies/studies.page.html | 21 +++++++++++++-------- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/src/app/models/data/studyOptions.data.ts b/src/app/models/data/studyOptions.data.ts index fd7c8109..90009ca1 100644 --- a/src/app/models/data/studyOptions.data.ts +++ b/src/app/models/data/studyOptions.data.ts @@ -37,10 +37,12 @@ export class StudyOptionsData { ]; public static studiesTypes: Options[] = [ + { title: "Break", value: "break" }, { title: "Learn", value: "learn" }, { title: "Listen", value: "listen" }, { title: "Practice", value: "practice" }, { title: "Read", value: "read" }, + { title: "Slept", value: "slept" }, { title: "Write", value: "write" }, { title: "Test", value: "test" }, ]; diff --git a/src/app/pages/studies/studies.page.html b/src/app/pages/studies/studies.page.html index 8482fd47..bbba87fb 100644 --- a/src/app/pages/studies/studies.page.html +++ b/src/app/pages/studies/studies.page.html @@ -1,4 +1,11 @@ - + + + + + + {{ pageTitle }} + + @@ -159,15 +166,13 @@

My Studies

Description: - {{ study?.description }} + {{study?.description}}

- Date: - {{ study?.startTime }} -

-

- Answered By at - {{ study?.endTime }} + From: + {{study?.startTime}} + - + {{study?.endTime}}

Date: Wed, 10 Apr 2024 09:30:38 +0530 Subject: [PATCH 2/2] version update to v2.2.0 --- src/app/app.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index fdebc26b..76bda908 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -17,7 +17,7 @@ export class AppComponent implements OnInit, AfterViewInit { isLoggedIn: any = false; public appPages: any = []; public labels: any = []; - versionNumber = "2.1.0"; + versionNumber = "2.2.0"; private loginStateSubscription: Subscription; constructor( private authService: AuthService, @@ -31,7 +31,7 @@ export class AppComponent implements OnInit, AfterViewInit { ngOnInit() { if (isPlatform("mobile")) { StatusBar.setBackgroundColor({ color: "#3880ff" }).catch((error) => { - console.error("error while setting background color",error) + console.error("error while setting background color", error); }); } this.firebaseService.getUserProfile();