Improvements

design_3.0_internal_audit_module
zaid_daoud 3 years ago
parent 5bab5c92a6
commit 8184632ce7

@ -64,7 +64,7 @@ class DeviceTransferProvider extends ChangeNotifier {
}) async { }) async {
if (isLoading == true) return -2; if (isLoading == true) return -2;
isLoading = true; isLoading = true;
notifyListeners(); if (items?.isEmpty ?? true) notifyListeners();
Response response; Response response;
try { try {
Map<String, dynamic> body = {}; Map<String, dynamic> body = {};

@ -52,7 +52,7 @@ class GasRefillProvider extends ChangeNotifier {
}) async { }) async {
if (isLoading == true) return -2; if (isLoading == true) return -2;
isLoading = true; isLoading = true;
notifyListeners(); if (items?.isEmpty ?? true) notifyListeners();
Response response; Response response;
Map<String, dynamic> body = {}; Map<String, dynamic> body = {};

Loading…
Cancel
Save