design: CircularProgressIndicator looks better here
This commit is contained in:
parent
4d462d9c8b
commit
37ee86094d
1 changed files with 3 additions and 1 deletions
|
|
@ -276,7 +276,9 @@ class ChatView extends StatelessWidget {
|
||||||
(BuildContext context, int i) {
|
(BuildContext context, int i) {
|
||||||
return i == controller.filteredEvents.length + 1
|
return i == controller.filteredEvents.length + 1
|
||||||
? controller.timeline.isRequestingHistory
|
? controller.timeline.isRequestingHistory
|
||||||
? LinearProgressIndicator()
|
? Center(
|
||||||
|
child: CircularProgressIndicator(),
|
||||||
|
)
|
||||||
: controller.canLoadMore
|
: controller.canLoadMore
|
||||||
? Center(
|
? Center(
|
||||||
child: OutlinedButton(
|
child: OutlinedButton(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue