fix(network_monitor): add missing case for other network type (#1854)

* fix(network_monitor): add missing case for `other` network type

Missing case causing static analysis error that is blocking the build.

* chore: update depdendency minor versions
This commit is contained in:
Kristen McWilliam 2023-02-23 04:07:59 -05:00 committed by GitHub
parent b356354cd8
commit f4dea31560
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 10 deletions

View File

@ -45,6 +45,7 @@ class NetworkListener {
case ConnectivityResult.vpn:
return NetworkTypePB.VPN;
case ConnectivityResult.none:
case ConnectivityResult.other:
return NetworkTypePB.Unknown;
}
}();

View File

@ -72,7 +72,7 @@ packages:
name: args
url: "https://pub.dartlang.org"
source: hosted
version: "2.3.2"
version: "2.4.0"
async:
dependency: transitive
description:
@ -86,14 +86,14 @@ packages:
name: bloc
url: "https://pub.dartlang.org"
source: hosted
version: "8.1.0"
version: "8.1.1"
bloc_test:
dependency: "direct dev"
description:
name: bloc_test
url: "https://pub.dartlang.org"
source: hosted
version: "9.1.0"
version: "9.1.1"
boolean_selector:
dependency: transitive
description:
@ -240,7 +240,7 @@ packages:
name: connectivity_plus_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.3"
version: "1.2.4"
connectivity_plus_web:
dependency: transitive
description:
@ -462,7 +462,7 @@ packages:
name: flutter_bloc
url: "https://pub.dartlang.org"
source: hosted
version: "8.1.1"
version: "8.1.2"
flutter_colorpicker:
dependency: "direct main"
description:
@ -877,7 +877,7 @@ packages:
name: path_provider_linux
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.7"
version: "2.1.8"
path_provider_platform_interface:
dependency: transitive
description:
@ -1031,7 +1031,7 @@ packages:
name: screen_retriever
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.5"
version: "0.1.6"
shared_preferences:
dependency: "direct main"
description:
@ -1295,7 +1295,7 @@ packages:
name: url_launcher
url: "https://pub.dartlang.org"
source: hosted
version: "6.1.8"
version: "6.1.9"
url_launcher_android:
dependency: transitive
description:
@ -1309,7 +1309,7 @@ packages:
name: url_launcher_ios
url: "https://pub.dartlang.org"
source: hosted
version: "6.0.18"
version: "6.1.0"
url_launcher_linux:
dependency: transitive
description:
@ -1414,7 +1414,7 @@ packages:
name: xdg_directories
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.0+3"
version: "1.0.0"
xml:
dependency: transitive
description: