use AppProgressIndicator for plain loading spinners
This commit is contained in:
@@ -14,6 +14,7 @@ import '../../../../state/app/modules/ticker/bloc/ticker_page_bloc.dart';
|
||||
import '../../../../state/app/modules/ticker/bloc/ticker_page_state.dart';
|
||||
import '../../../../state/app/modules/ticker/repository/ticker_page_repository.dart';
|
||||
import '../../../../theming/app_theme.dart';
|
||||
import '../../../../widget/app_progress_indicator.dart';
|
||||
import '../../../../widget/placeholder_view.dart';
|
||||
import '../../../../widget/prosemirror/pm_json_view.dart';
|
||||
import 'ticker_content_card.dart';
|
||||
@@ -89,7 +90,7 @@ class _TickerPageContentState extends State<_TickerPageContent> {
|
||||
widget.onRedirect?.call();
|
||||
});
|
||||
}
|
||||
return const Center(child: CircularProgressIndicator());
|
||||
return const Center(child: AppProgressIndicator.large());
|
||||
case TickerPageKind.proxiedFile:
|
||||
return Column(
|
||||
children: [
|
||||
@@ -159,7 +160,7 @@ class _ProxiedFileViewState extends State<_ProxiedFileView> {
|
||||
future: _bytes,
|
||||
builder: (context, snapshot) {
|
||||
if (snapshot.connectionState != ConnectionState.done) {
|
||||
return const Center(child: CircularProgressIndicator());
|
||||
return const Center(child: AppProgressIndicator.large());
|
||||
}
|
||||
final error = snapshot.error;
|
||||
if (error != null) {
|
||||
|
||||
Reference in New Issue
Block a user