Skip to content

Commit 745b054

Browse files
authored
Merge pull request #440 from FNPCMDs/release/1.0.28
Fix LiveQuery reconnect
2 parents a6c3367 + 3af7531 commit 745b054

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/dart/lib/src/network/parse_live_query.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ class LiveQueryReconnectingController {
9494
_retryState = 0;
9595
}
9696
_isOnline = state != ParseConnectivityResult.none;
97+
if(state == ParseConnectivityResult.none) {
98+
_isConnected = false;
99+
}
97100
if (debug) {
98101
print('$DEBUG_TAG: $state');
99102
}

0 commit comments

Comments
 (0)