Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

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

Kristen McWilliamf4dea31560bc
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: