This commit is contained in:
Hamza-Ayed
2024-06-22 13:12:35 +03:00
parent 1cc0156cfd
commit 3c5321f70b
67 changed files with 91 additions and 740 deletions

View File

@@ -33,7 +33,6 @@ class HelpController extends GetxController {
'helpQuestion': helpQuestionController.text
});
var d = jsonDecode(res);
// print(d);
isLoading = false;
update();
if (d['status'].toString() == 'success') {
@@ -51,7 +50,6 @@ class HelpController extends GetxController {
'driverID': box.read(BoxName.driverID).toString(),
});
if (res == "failure") {
// print(res);
isLoading = false;
update();
Get.defaultDialog(
@@ -76,7 +74,6 @@ class HelpController extends GetxController {
var res = await CRUD().get(link: AppLink.getByIdhelpCenter, payload: {
'id': id,
});
print(res);
if (res == "failure") {
status = 'not yet';
isLoading = false;