chore: Load room of first client before init GUI

krille/remove-unused-deps
Christian Pauly 2 years ago
parent a737719091
commit 2500e74d7e

@ -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);

Loading…
Cancel
Save