chore: Load room of first client before init GUI

This commit is contained in:
Christian Pauly 2022-11-13 12:37:13 +01:00
parent a737719091
commit 2500e74d7e

View file

@ -19,6 +19,8 @@ void main() async {
Logs().nativeColors = !PlatformInfos.isIOS;
final clients = await ClientManager.getClients();
await clients.first.roomsLoading;
await clients.first.accountDataLoading;
if (PlatformInfos.isMobile) {
BackgroundPush.clientOnly(clients.first);