Skip to content

Commit

Permalink
Update profile builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Ogollah committed Jul 16, 2024
1 parent a124d0c commit 2031f0c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/src/features/auth/data/services/AuthApiService.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class AuthApiService extends HTTPService {
accessToken: data["data"]?["token"] ?? '',
refreshToken: data["data"]?["refreshToken"] ?? '',
accountVerified: data["data"]?["account_verified"] == "1"!,
profileUpdated: data["data"]?["account_verified"] == "1"!,
profileUpdated: data["data"]?["profile_complete"] == "1"!,
userId: data["data"]?["user_id"]!,
message: data["msg"]!,
phoneNumber: data["data"]?["phone_no"]!
Expand Down Expand Up @@ -55,7 +55,7 @@ class AuthApiService extends HTTPService {
accessToken: data["data"]?["token"]?? ''!,
refreshToken: data["data"]?["refreshToken"]?? ''!,
accountVerified: data["data"]?["account_verified"] == "1"!,
profileUpdated: data["data"]?["account_verified"] == "1"!,
profileUpdated: data["data"]?["profile_complete"] == "1"!,
userId: data["data"]?["user_id"]!,
message: data["msg"]!,
phoneNumber: data["data"]?["phone_no"]!
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ class _PersonalInformationState extends State<PersonalInformation> {
FormBuilderValidators.required(),
]),
items: const [
DropdownMenuItem(
value: "Female",
child: Text("Select gender"),
),
DropdownMenuItem(
value: "Male",
child: Text("Male"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class ProfileWizardFormScreen extends HookConsumerWidget {
isActive: currentStep.value == 0,
),
Step(
title: const Text("Personal Information"),
title: const Text("Personal Information **"),
subtitle: const Text(
"Provide basic personal details for a comprehensive profile.",
),
Expand Down

0 comments on commit 2031f0c

Please sign in to comment.