Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated connectivity_plus to 6.0.3 and easy_localization to 3.0.7. #68

Merged
merged 1 commit into from
May 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading