Update: 2026-06-26 01:43:37
This commit is contained in:
@@ -4,6 +4,7 @@ import 'package:get/get.dart';
|
||||
|
||||
import '../../constant/colors.dart';
|
||||
import '../../constant/links.dart';
|
||||
import '../../views/widgets/mycircular.dart';
|
||||
import '../print.dart';
|
||||
import 'functions/crud.dart';
|
||||
|
||||
@@ -17,7 +18,7 @@ class Driverthebest extends GetxController {
|
||||
// Log.print('driver: ${driver}');
|
||||
update();
|
||||
} else {
|
||||
Get.snackbar('error', '', backgroundColor: AppColor.redColor);
|
||||
mySnackbarError('Error'.tr);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +39,7 @@ class DriverTheBestGizaController extends GetxController {
|
||||
|
||||
update();
|
||||
} else {
|
||||
Get.snackbar('error', '', backgroundColor: AppColor.redColor);
|
||||
mySnackbarError('Error'.tr);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,7 +60,7 @@ class DriverTheBestAlexandriaController extends GetxController {
|
||||
driver = res['message'];
|
||||
update();
|
||||
} else {
|
||||
Get.snackbar('error', '', backgroundColor: AppColor.redColor);
|
||||
mySnackbarError('Error'.tr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user