This commit is contained in:
Hamza Aleghwairyeen
2024-04-07 01:29:54 +03:00
parent c6b0bf2645
commit 5624cb9a2f
10 changed files with 72 additions and 26 deletions

View File

@@ -75,6 +75,7 @@ class CaptainProfileController extends GetxController {
box.write(BoxName.vin, d['message']['vin']);
box.write(BoxName.color, d['message']['color']);
box.write(BoxName.model, d['message']['model']);
box.write(BoxName.carPlate, d['message']['car_plate']);
box.write(BoxName.make, d['message']['make']);
box.write(BoxName.year, d['message']['year']);
box.write(BoxName.expirationDate, d['message']['expiration_date']);
@@ -87,7 +88,7 @@ class CaptainProfileController extends GetxController {
@override
void onInit() {
// if (box.read(BoxName.dobDriver) == null) {
getProfileData();
getProfileData();
// }
super.onInit();