fix(ui, core): use CircularProgressIndicator.adaptive instead of material indicator.
Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
@@ -41,7 +41,7 @@ bool Function(Message) defaultMessageFilter(String currentUserId) =>
|
||||
/// },
|
||||
/// loadingBuilder: (context) {
|
||||
/// return Center(
|
||||
/// child: CircularProgressIndicator(),
|
||||
/// child: CircularProgressIndicator.adaptive(),
|
||||
/// );
|
||||
/// },
|
||||
/// messageListBuilder: (context, list) {
|
||||
|
||||
@@ -445,7 +445,7 @@ class StreamChannelState extends State<StreamChannel> {
|
||||
final dataLoaded = snapshot.data?.every((it) => it) == true;
|
||||
if (widget.showLoading && !dataLoaded) {
|
||||
return const Center(
|
||||
child: CircularProgressIndicator(),
|
||||
child: CircularProgressIndicator.adaptive(),
|
||||
);
|
||||
}
|
||||
return widget.child;
|
||||
|
||||
Reference in New Issue
Block a user