Skip to content

Commit

Permalink
code format + flutter version for build action
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrii committed Apr 3, 2024
1 parent c9e5d3b commit b55eacb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install environment
uses: subosito/[email protected]
with:
flutter-version: 3.16.0
flutter-version: 3.16.9

- name: Get dependencies
run: flutter pub get
Expand Down
3 changes: 2 additions & 1 deletion lib/src/connection_checker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ class ConnectionChecker {
/// it is more secure to listen for [connectionStream].
Future<bool> get isConnected async {
final result = await _connectivity.checkConnectivity();
final isConnectionTypesContainsOnline = _connectionTypeMapper.call(result).containsOnline;
final isConnectionTypesContainsOnline =
_connectionTypeMapper.call(result).containsOnline;

final reachability = await Future.wait([_hostReachable, _baseUrlReachable]);
final isHostReachable = [isConnectionTypesContainsOnline, ...reachability]
Expand Down

0 comments on commit b55eacb

Please sign in to comment.