Merge pull request #81 from WDI-Ideas/newchanges29

some fixes in edit page
This commit is contained in:
Shubham Shetty
2024-07-29 19:09:25 +05:30
committed by GitHub
2 changed files with 9 additions and 4 deletions

View File

@@ -125,6 +125,9 @@ class _EditProfileState extends State<EditProfile> {
FormData? updata;
var imageFile;
selectedinterestid.isEmpty
? getCatIdFromName(listofUserInterests)
: selectedinterestid;
String abilitiesIds = selectedinterestid.toString();
print("Interests String: $abilitiesIds");
@@ -355,7 +358,7 @@ class _EditProfileState extends State<EditProfile> {
sizedBoxHeight(16.h),
CustomTextFormField(
textEditingController: fullNameController,
leadingIcon: SizedBox(
leadingIcon: Container(
width: 18.w,
height: 17.h,
child: Center(
@@ -413,7 +416,7 @@ class _EditProfileState extends State<EditProfile> {
),
),
),
hintText: "Select your date of birth",
hintText: "12-04-2024",
textEditingController: dateController,
),
),
@@ -507,7 +510,8 @@ class _EditProfileState extends State<EditProfile> {
sizedBoxHeight(16.h),
CustomTextFormField2(
textEditingController: aboutController,
hintText: "Tell us about yourself",
hintText:
"Lorem Ipsum has been the industry's standard dummy text ever since the 1500s. Lorem Ipsum has been the industry's standard",
maxlines: 3,
),
// sizedBoxHeight(20.h),

View File

@@ -118,7 +118,8 @@ class _DeleteAccountState extends State<DeleteAccount> {
CommonBtn(
text: "I dont want to delete",
onTap: () {
Get.toNamed(RouteName.mainscreen);
// Get.toNamed(RouteName.mainscreen);
Get.back();
},
),
sizedBoxHeight(18.h),