update loaing
This commit is contained in:
@@ -420,7 +420,7 @@ ref.watch(userProvider).when(
|
||||
|
||||
data: (user) => UserView(user),
|
||||
|
||||
loading: () => CircularProgressIndicator(),
|
||||
loading: () => const CustomLoadingIndicator(),
|
||||
|
||||
error: (error, stack) => ErrorView(error),
|
||||
|
||||
@@ -443,7 +443,7 @@ switch (userState) {
|
||||
|
||||
case AsyncLoading():
|
||||
|
||||
return CircularProgressIndicator();
|
||||
return const CustomLoadingIndicator();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user