fix: Crash on logout
This commit is contained in:
parent
41b398c87e
commit
015a12b04d
2 changed files with 10 additions and 7 deletions
|
|
@ -37,6 +37,7 @@ void main() async {
|
|||
Zone.current.handleUncaughtError(details.exception, details.stack);
|
||||
|
||||
final clients = await ClientManager.getClients();
|
||||
Logs().level = kDebugMode ? Level.debug : Level.warning;
|
||||
|
||||
if (PlatformInfos.isMobile) {
|
||||
BackgroundPush.clientOnly(clients.first);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue