25-2/24/1

This commit is contained in:
Hamza-Ayed
2025-02-24 23:38:42 +03:00
parent 218e174c87
commit 3162b1bec6
56 changed files with 1318 additions and 527 deletions

View File

@@ -74,11 +74,14 @@ class ProfileController extends GetxController {
Get.back();
await updateColumn({
'id': box.read(BoxName.passengerID),
columnName: encryptionHelper.encryptData(txtController.text),
columnName:
EncryptionHelper.instance.encryptData(txtController.text),
});
if (columnName == 'first_name') {
box.write(BoxName.name,
encryptionHelper.encryptData(txtController.text));
box.write(
BoxName.name,
EncryptionHelper.instance
.encryptData(txtController.text));
}
txtController.clear();