TF-1361 Fix open notification while no network connection

This commit is contained in:
dab246
2023-01-04 09:43:39 +07:00
committed by Dat H. Pham
parent f2636b1ecf
commit e8a8676d37
4 changed files with 65 additions and 10 deletions
+5
View File
@@ -72,6 +72,11 @@ abstract class BaseController extends GetxController
}
void onError(dynamic error) {
if (error is NoNetworkError) {
logError('BaseController::onError(): $error');
return;
}
final _appToast = Get.find<AppToast>();
final _imagePaths = Get.find<ImagePaths>();
final _responsiveUtils = Get.find<ResponsiveUtils>();