Skip to content

Commit

Permalink
Updated connectivity_plus to 6.0.3 and easy_localization to 3.0.7. (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
FXschwartz authored May 23, 2024
1 parent 1f9f028 commit 2a8a337
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.2
- Update connectivity_plus package to ^6.0.3
- Update easy_localization package to ^3.0.7

## 2.0.1

- Extend delimiters for csv loader
Expand Down
2 changes: 1 addition & 1 deletion lib/src/smart_network_asset_loader.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class SmartNetworkAssetLoader extends AssetLoader {

Future<bool> isInternetConnectionAvailable() async {
final connectivityResult = await Connectivity().checkConnectivity();
if (connectivityResult == ConnectivityResult.none) {
if (connectivityResult.contains(ConnectivityResult.none)) {
return false;
} else {
try {
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ description: Easy Localization Loader custom assets loaders for easy_localizatio
homepage: https://github.com/aissat/easy_localization_loader
issue_tracker: https://github.com/aissat/easy_localization_loader/issues

version: 2.0.1
version: 2.0.2

environment:
sdk: '>=2.12.0 <4.0.0'

dependencies:
connectivity_plus: ^5.0.1
connectivity_plus: ^6.0.3
csv: ^6.0.0
easy_localization: ^3.0.3
easy_localization: ^3.0.7
flutter: { sdk: flutter }
http: ^1.1.0
path_provider: ^2.1.1
Expand Down

0 comments on commit 2a8a337

Please sign in to comment.