Update: 2026-06-25 00:50:19

This commit is contained in:
Hamza-Ayed
2026-06-25 00:50:19 +03:00
parent 0671388e15
commit eeb4e21f87
12 changed files with 178 additions and 130 deletions

View File

@@ -98,7 +98,7 @@ class ProfileController extends GetxController {
isloading = false;
update();
} else {
var jsonDecoded = jsonDecode(res);
var jsonDecoded = res is String ? jsonDecode(res) : res;
prfoileData = jsonDecoded['data'];
box.write(BoxName.sosPhonePassenger, prfoileData['sosPhone'].toString());
box.write(BoxName.gender, prfoileData['gender'].toString());