fix: Chat UI doesnt load

This commit is contained in:
Christian Pauly 2021-04-16 14:37:01 +02:00
parent 3d4decb5b5
commit 4f20ea4d64

View File

@ -238,7 +238,7 @@ class ChatUI extends StatelessWidget {
child: FutureBuilder<bool>(
future: controller.getTimeline(),
builder: (BuildContext context, snapshot) {
if (!snapshot.hasData) {
if (controller.timeline == null) {
return Center(
child: CircularProgressIndicator(),
);