Skip to content
TypeScript

fix(mobile): don't mark Android VPN/Tailscale as offline when connected (#3949)

Rushikesh Gaikwadbc9428a06a60
diff --git a/apps/mobile/src/connection/platform.ts b/apps/mobile/src/connection/platform.ts
index cc51b56ee70..b8a13137c88 100644
--- a/apps/mobile/src/connection/platform.ts
+++ b/apps/mobile/src/connection/platform.ts
@@ -33,7 +33,7 @@ import { clearComposerDraftsEnvironment } from "../state/use-composer-drafts";
import { connectionStorageLayer } from "./storage";
function networkStatus(state: Network.NetworkState): "unknown" | "offline" | "online" {
- if (state.isConnected === false || state.isInternetReachable === false) {
+ if (state.isConnected === false) {
return "offline";
}
if (state.isConnected === true) {