fix: Chat UI doesnt load
This commit is contained in:
parent
0cc794f03b
commit
67cd60e87c
1 changed files with 1 additions and 1 deletions
|
|
@ -238,7 +238,7 @@ class ChatUI extends StatelessWidget {
|
||||||
child: FutureBuilder<bool>(
|
child: FutureBuilder<bool>(
|
||||||
future: controller.getTimeline(),
|
future: controller.getTimeline(),
|
||||||
builder: (BuildContext context, snapshot) {
|
builder: (BuildContext context, snapshot) {
|
||||||
if (!snapshot.hasData) {
|
if (controller.timeline == null) {
|
||||||
return Center(
|
return Center(
|
||||||
child: CircularProgressIndicator(),
|
child: CircularProgressIndicator(),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue