fix: Flickerfree app start
This commit is contained in:
parent
e199b3935e
commit
8724e41545
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ class ChatListView extends StatelessWidget {
|
|||
return FutureBuilder<void>(
|
||||
future: controller.waitForFirstSync(),
|
||||
builder: (BuildContext context, snapshot) {
|
||||
if (snapshot.hasData) {
|
||||
if (Matrix.of(context).client.prevBatch != null) {
|
||||
final rooms = List<Room>.from(
|
||||
Matrix.of(context).client.rooms);
|
||||
rooms.removeWhere(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue