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