6/22/2
This commit is contained in:
@@ -20,7 +20,6 @@ class NotificationCaptainController extends GetxController {
|
||||
link: AppLink.getNotificationCaptain,
|
||||
payload: {'driverID': box.read(BoxName.driverID)});
|
||||
if (res == "failure") {
|
||||
// print(res);
|
||||
Get.defaultDialog(
|
||||
title: 'There is no notification yet'.tr,
|
||||
titleStyle: AppStyle.title,
|
||||
@@ -35,7 +34,6 @@ class NotificationCaptainController extends GetxController {
|
||||
notificationData = jsonDecode(res);
|
||||
// sql.insertData(notificationData['message'], TableName.captainNotification);
|
||||
|
||||
// print(notificationData);
|
||||
isLoading = false;
|
||||
update();
|
||||
}
|
||||
|
||||
@@ -21,7 +21,6 @@ class PassengerNotificationController extends GetxController {
|
||||
link: AppLink.getNotificationPassenger,
|
||||
payload: {'passenger_id': box.read(BoxName.passengerID)});
|
||||
if (res == "failure") {
|
||||
// print(res);
|
||||
Get.defaultDialog(
|
||||
title: 'There is no notification yet'.tr,
|
||||
titleStyle: AppStyle.title,
|
||||
@@ -36,7 +35,6 @@ class PassengerNotificationController extends GetxController {
|
||||
notificationData = jsonDecode(res);
|
||||
// sql.insertData(notificationData['message'], TableName.captainNotification);
|
||||
|
||||
// print(notificationData);
|
||||
isloading = false;
|
||||
update();
|
||||
}
|
||||
|
||||
@@ -15,7 +15,6 @@ class RideAvailableController extends GetxController {
|
||||
var res = await CRUD().get(link: AppLink.getRideWaiting, payload: {});
|
||||
if (res != 'failure') {
|
||||
rideAvailableMap = jsonDecode(res);
|
||||
print(rideAvailableMap);
|
||||
isLoading = false;
|
||||
update();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user