fix: Chat list flickering
This commit is contained in:
parent
55fb318187
commit
5fe495db94
2 changed files with 6 additions and 3 deletions
|
|
@ -430,7 +430,7 @@ class _ChatListViewBody extends StatelessWidget {
|
|||
.rateLimit(const Duration(seconds: 1)),
|
||||
builder: (context, snapshot) {
|
||||
return FutureBuilder<void>(
|
||||
future: controller.waitForFirstSync(),
|
||||
future: controller.waitForFirstSync,
|
||||
builder: (BuildContext context, snapshot) {
|
||||
if (snapshot.connectionState == ConnectionState.done) {
|
||||
final rooms = Matrix.of(context)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue