fix(mobile): don't mark Android VPN/Tailscale as offline when connected (#3949)
This commit is contained in:
1 parent
593289c3c7
commit
bc9428a06a
1 file changed
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user