chore: Update SDK

This commit is contained in:
Christian Pauly 2022-07-09 10:18:53 +02:00
commit 153e333693
8 changed files with 29 additions and 32 deletions

View file

@ -219,7 +219,7 @@ class BackgroundPush {
Future<void> setupPush() async {
Logs().d("SetupPush");
if (client.loginState != LoginState.loggedIn ||
if (client.onLoginStateChanged.value != LoginState.loggedIn ||
!PlatformInfos.isMobile ||
context == null) {
return;