Update: 2026-06-27 05:36:53

This commit is contained in:
Hamza-Ayed
2026-06-27 05:36:53 +03:00
parent 7497bdcfae
commit bf1416b2a7
7 changed files with 109 additions and 40 deletions

View File

@@ -554,6 +554,15 @@ class ScanDocumentsByApi extends GetxController {
}
}
if (responseString.isNotEmpty) {
try {
final decoded = jsonDecode(responseString);
if (decoded['status'] == 'success' && decoded['message']['file_link'] != null) {
box.write(BoxName.driverPhotoUrl, decoded['message']['file_link'].toString());
}
} catch (_) {}
}
isLoading = false;
update();