diff --git a/lib/services/external_service.dart b/lib/services/external_service.dart index 0701a5e..9edda03 100644 --- a/lib/services/external_service.dart +++ b/lib/services/external_service.dart @@ -191,7 +191,7 @@ class ExternalService { final IndexController indexController = Get.find(); - if(indexController.connectionStatusName != "wifi" || indexController.connectionStatusName != "mobile"){ + if(indexController.connectionStatusName != "wifi" && indexController.connectionStatusName != "mobile"){ DatabaseHelper db = DatabaseHelper.instance; Rog _rog = Rog( id:1,