From f4dea31560bc06507d7990fd4827837c1cdfcf50 Mon Sep 17 00:00:00 2001 From: Kristen McWilliam <9575627+Merrit@users.noreply.github.com> Date: Thu, 23 Feb 2023 04:07:59 -0500 Subject: [PATCH] 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 --- .../app_flowy/lib/core/network_monitor.dart | 1 + frontend/app_flowy/pubspec.lock | 20 +++++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/frontend/app_flowy/lib/core/network_monitor.dart b/frontend/app_flowy/lib/core/network_monitor.dart index 259bb47e4d..1aee637176 100644 --- a/frontend/app_flowy/lib/core/network_monitor.dart +++ b/frontend/app_flowy/lib/core/network_monitor.dart @@ -45,6 +45,7 @@ class NetworkListener { case ConnectivityResult.vpn: return NetworkTypePB.VPN; case ConnectivityResult.none: + case ConnectivityResult.other: return NetworkTypePB.Unknown; } }(); diff --git a/frontend/app_flowy/pubspec.lock b/frontend/app_flowy/pubspec.lock index 5cc640492f..a54627aa28 100644 --- a/frontend/app_flowy/pubspec.lock +++ b/frontend/app_flowy/pubspec.lock @@ -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: