Skip to content

Commit 2a8a337

Browse files
authored
Updated connectivity_plus to 6.0.3 and easy_localization to 3.0.7. (#68)
1 parent 1f9f028 commit 2a8a337

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.2
2+
- Update connectivity_plus package to ^6.0.3
3+
- Update easy_localization package to ^3.0.7
4+
15
## 2.0.1
26

37
- Extend delimiters for csv loader

lib/src/smart_network_asset_loader.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ class SmartNetworkAssetLoader extends AssetLoader {
6666

6767
Future<bool> isInternetConnectionAvailable() async {
6868
final connectivityResult = await Connectivity().checkConnectivity();
69-
if (connectivityResult == ConnectivityResult.none) {
69+
if (connectivityResult.contains(ConnectivityResult.none)) {
7070
return false;
7171
} else {
7272
try {

pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ description: Easy Localization Loader custom assets loaders for easy_localizatio
44
homepage: https://github.com/aissat/easy_localization_loader
55
issue_tracker: https://github.com/aissat/easy_localization_loader/issues
66

7-
version: 2.0.1
7+
version: 2.0.2
88

99
environment:
1010
sdk: '>=2.12.0 <4.0.0'
1111

1212
dependencies:
13-
connectivity_plus: ^5.0.1
13+
connectivity_plus: ^6.0.3
1414
csv: ^6.0.0
15-
easy_localization: ^3.0.3
15+
easy_localization: ^3.0.7
1616
flutter: { sdk: flutter }
1717
http: ^1.1.0
1818
path_provider: ^2.1.1

0 commit comments

Comments
 (0)