authorgravatar for 81632222+Wraient@users.noreply.github.comRushikesh Gaikwad <81632222+Wraient@users.noreply.github.com> 2026-07-23 03:29:20+05:30
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-07-22 21:59:20+00:00
logbc9428a06a60db59cfddb99c6d7044a9db47eb1c
tree03b2f33b68a3e2a64d88e243dd81ff33fb09b955
parent593289c3c771ec1987b3f904eb95305d7ccaecf6
signature Signed by PGP key B5690EEEBB952194

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


1 files changed, 1 insertions(+), 1 deletions(-)

apps/mobile/src/connection/platform.ts+1-1
...@@ -33,7 +33,7 @@ import { clearComposerDraftsEnvironment } from "../state/use-composer-drafts";...@@ -33,7 +33,7 @@ import { clearComposerDraftsEnvironment } from "../state/use-composer-drafts";
33import { connectionStorageLayer } from "./storage";33import { connectionStorageLayer } from "./storage";
3434
35function networkStatus(state: Network.NetworkState): "unknown" | "offline" | "online" {35function networkStatus(state: Network.NetworkState): "unknown" | "offline" | "online" {
36 if (state.isConnected === false || state.isInternetReachable === false) {36 if (state.isConnected === false) {
37 return "offline";37 return "offline";
38 }38 }
39 if (state.isConnected === true) {39 if (state.isConnected === true) {