Skip to content

Commit

Permalink
Minor depedency update
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfteam committed Apr 2, 2021
1 parent b9f0450 commit 0e31416
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
4 changes: 2 additions & 2 deletions lib/infrastructure/network_service.dart
@@ -1,10 +1,10 @@
import 'package:data_connection_checker/data_connection_checker.dart';
import 'package:genshindb/domain/services/network_service.dart';
import 'package:internet_connection_checker/internet_connection_checker.dart';

class NetworkServiceImpl implements NetworkService {
@override
Future<bool> isInternetAvailable() {
final checker = DataConnectionChecker();
final checker = InternetConnectionChecker();
return checker.hasConnection;
}
}
28 changes: 14 additions & 14 deletions pubspec.lock
Expand Up @@ -190,13 +190,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.12"
data_connection_checker:
dependency: "direct main"
description:
name: data_connection_checker
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.4"
device_info:
dependency: "direct main"
description:
Expand Down Expand Up @@ -272,13 +265,6 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.0"
flutter_cupertino_localizations:
dependency: "direct main"
description:
name: flutter_cupertino_localizations
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
flutter_launcher_icons:
dependency: "direct dev"
description:
Expand Down Expand Up @@ -441,6 +427,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1+1"
internet_connection_checker:
dependency: "direct main"
description:
name: internet_connection_checker
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.1"
intl:
dependency: transitive
description:
Expand Down Expand Up @@ -838,6 +831,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0"
universal_io:
dependency: transitive
description:
name: universal_io
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.3"
url_launcher:
dependency: "direct main"
description:
Expand Down
3 changes: 1 addition & 2 deletions pubspec.yaml
Expand Up @@ -23,15 +23,13 @@ environment:
dependencies:
cupertino_icons: ^1.0.2
darq: ^0.5.1
data_connection_checker: ^0.3.4
device_info: ^2.0.0
devicelocale: ^0.4.1
enum_to_string: ^2.0.1
flutter:
sdk: flutter
flutter_bloc: ^7.0.0
flutter_colorpicker: ^0.4.0
flutter_cupertino_localizations: ^1.0.1
flutter_localizations:
sdk: flutter
flutter_slidable: ^0.5.7
Expand All @@ -45,6 +43,7 @@ dependencies:
hive: ^2.0.0
hive_flutter: ^1.0.0
image_gallery_saver: ^1.6.8
internet_connection_checker: ^0.0.1
logger: ^1.0.0
numberpicker: ^1.3.0
package_info: ^2.0.0
Expand Down

0 comments on commit 0e31416

Please sign in to comment.