mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-27 23:09:35 +01:00
chore: Load room of first client before init GUI
This commit is contained in:
parent
38d65ba3ed
commit
5cce7257b4
@ -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…
Reference in New Issue
Block a user