This commit is contained in:
Hamza-Ayed
2024-07-05 04:51:14 +03:00
parent b48bcfdebb
commit fec02b13ee
40 changed files with 652 additions and 194 deletions

View File

@@ -69,6 +69,7 @@ class ProfileController extends GetxController {
MyElevatedButton(
title: 'Update'.tr,
onPressed: () async {
Get.back();
await updateColumn({
'id': box.read(BoxName.passengerID),
columnName: txtController.text,
@@ -76,7 +77,7 @@ class ProfileController extends GetxController {
if (columnName == 'first_name') {
box.write(BoxName.name, txtController.text);
}
Get.back();
txtController.clear();
},
)