mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-02-22 09:10:44 +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);
|
Zone.current.handleUncaughtError(details.exception, details.stack);
|
||||||
|
|
||||||
final clients = await ClientManager.getClients();
|
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) {
|
if (PlatformInfos.isMobile) {
|
||||||
BackgroundPush.clientOnly(clients.first);
|
BackgroundPush.clientOnly(clients.first);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user