feat : pagination
This commit is contained in:
@@ -33,7 +33,6 @@ class RootLogic extends GetxController {
|
||||
getKillHouseDistributionInfo();
|
||||
}
|
||||
|
||||
|
||||
void toggleExpanded(int index) {
|
||||
if (inventoryExpandedList.keys.contains(index)) {
|
||||
inventoryExpandedList.remove(index);
|
||||
@@ -86,15 +85,14 @@ class RootLogic extends GetxController {
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
void _handleGeneric(DioException error) {
|
||||
Get.showSnackbar(
|
||||
_errorSnackBar('اعتبار توکن شما منقضی شده است لطفا دوباره وارد شوید'
|
||||
),
|
||||
_errorSnackBar('اعتبار توکن شما منقضی شده است لطفا دوباره وارد شوید'),
|
||||
);
|
||||
tokenService.deleteTokens();
|
||||
Get.offAllNamed(AuthPaths.auth, arguments: Module.chicken );
|
||||
Get.offAllNamed(AuthPaths.auth, arguments: Module.chicken);
|
||||
}
|
||||
|
||||
GetSnackBar _errorSnackBar(String message) {
|
||||
return GetSnackBar(
|
||||
titleText: Text(
|
||||
|
||||
Reference in New Issue
Block a user