Merge remote-tracking branch 'origin/ref/segregate-api-layer' into ref/segregate-api-layer
This commit is contained in:
@@ -3,5 +3,5 @@
|
|||||||
# Fast fail the script on failures.
|
# Fast fail the script on failures.
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
pub global activate remove_from_coverage
|
pub global activate remove_from_coverage --overwrite
|
||||||
pub global run remove_from_coverage:remove_from_coverage -f coverage/lcov.info -r '\.g\.dart$' -r '\.freezed\.dart$'
|
pub global run remove_from_coverage:remove_from_coverage -f coverage/lcov.info -r '\.g\.dart$' -r '\.freezed\.dart$'
|
||||||
@@ -125,7 +125,8 @@ class StreamChatCoreState extends State<StreamChatCore>
|
|||||||
_isConnectionAvailable = result != ConnectivityResult.none;
|
_isConnectionAvailable = result != ConnectivityResult.none;
|
||||||
if (!_isInForeground) return;
|
if (!_isInForeground) return;
|
||||||
if (_isConnectionAvailable) {
|
if (_isConnectionAvailable) {
|
||||||
if (client.wsConnectionStatus == ConnectionStatus.disconnected) {
|
if (client.wsConnectionStatus == ConnectionStatus.disconnected &&
|
||||||
|
user != null) {
|
||||||
client.openConnection();
|
client.openConnection();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user