This commit is contained in:
Hamza-Ayed
2024-08-17 22:15:26 +03:00
parent 46f11d5991
commit b93ddc3945
14 changed files with 358 additions and 203 deletions

View File

@@ -22,8 +22,8 @@ class ComplaintController extends GetxController {
'passengerId': box.read(BoxName.passengerID).toString(),
'feedBack': complaintController.text
});
var d = jsonDecode(res);
if (d['status'].toString() == 'success') {
// var d = jsonDecode(res);
if (res != 'failure') {
Get.defaultDialog(
title: 'Success'.tr,
titleStyle: AppStyle.title,