7/5/1
This commit is contained in:
@@ -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();
|
||||
},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user