use AppProgressIndicator for plain loading spinners
This commit is contained in:
@@ -2,6 +2,7 @@ import 'package:cached_network_image/cached_network_image.dart';
|
||||
import 'package:collection/collection.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../app_progress_indicator.dart';
|
||||
import 'pm_document_view.dart';
|
||||
import 'pm_node.dart';
|
||||
|
||||
@@ -116,7 +117,7 @@ class _PmJsonViewState extends State<PmJsonView> {
|
||||
if (shown == null) {
|
||||
return const SizedBox(
|
||||
height: 160,
|
||||
child: Center(child: CircularProgressIndicator()),
|
||||
child: Center(child: AppProgressIndicator.large()),
|
||||
);
|
||||
}
|
||||
return PmDocumentView(doc: shown, onLinkTap: widget.onLinkTap);
|
||||
|
||||
Reference in New Issue
Block a user