mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 23:12:37 +01:00
fix: Flickerfree app start
This commit is contained in:
parent
797105cd17
commit
8dea650300
@ -166,7 +166,7 @@ class ChatListView extends StatelessWidget {
|
|||||||
return FutureBuilder<void>(
|
return FutureBuilder<void>(
|
||||||
future: controller.waitForFirstSync(),
|
future: controller.waitForFirstSync(),
|
||||||
builder: (BuildContext context, snapshot) {
|
builder: (BuildContext context, snapshot) {
|
||||||
if (snapshot.hasData) {
|
if (Matrix.of(context).client.prevBatch != null) {
|
||||||
final rooms = List<Room>.from(
|
final rooms = List<Room>.from(
|
||||||
Matrix.of(context).client.rooms);
|
Matrix.of(context).client.rooms);
|
||||||
rooms.removeWhere(
|
rooms.removeWhere(
|
||||||
|
Loading…
Reference in New Issue
Block a user