design: CircularProgressIndicator looks better here

This commit is contained in:
Christian Pauly 2021-09-01 10:31:31 +02:00
parent a7cf8e91b8
commit 888935cf4d

View File

@ -276,7 +276,9 @@ class ChatView extends StatelessWidget {
(BuildContext context, int i) {
return i == controller.filteredEvents.length + 1
? controller.timeline.isRequestingHistory
? LinearProgressIndicator()
? Center(
child: CircularProgressIndicator(),
)
: controller.canLoadMore
? Center(
child: OutlinedButton(