Skip to content

Commit 15bd8f9

Browse files
committed
wip
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
1 parent 801bf6f commit 15bd8f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/com/nextcloud/client/network/ConnectivityServiceImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class ConnectivityServiceImpl(
9898
val baseServerAddress = accountManager.user.server.uri.toString()
9999
if (baseServerAddress.isEmpty()) {
100100
Log_OC.e(TAG, "no base server address, internet is walled")
101-
return true
101+
return !currentConnectivity.isConnected
102102
}
103103

104104
val resolvedCapabilities = resolveNetworkCapabilities()

0 commit comments

Comments
 (0)