chore: Load room of first client before init GUI
This commit is contained in:
parent
a737719091
commit
2500e74d7e
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue