mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-21 16:50:41 +01:00
fix: Stuff
This commit is contained in:
parent
08c09051ea
commit
f879708d42
@ -34,7 +34,9 @@ void main() async {
|
||||
Zone.current.handleUncaughtError(details.exception, details.stack);
|
||||
|
||||
final clients = await ClientManager.getClients();
|
||||
await Future.wait(clients.map((client) => client.init()));
|
||||
await Future.wait(clients.map((client) => client
|
||||
.init()
|
||||
.catchError((e, s) => Logs().e('Unable to initialize client', e, s))));
|
||||
if (PlatformInfos.isMobile) {
|
||||
BackgroundPush.clientOnly(clients.first);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user