Fix squashed Loading indicator
This commit is contained in:
parent
26dd27a435
commit
8fc5c206d0
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ class _GopherLoaderState extends State<GopherLoader> {
|
||||||
builder: (cont, snap) {
|
builder: (cont, snap) {
|
||||||
print("${snap.connectionState}");
|
print("${snap.connectionState}");
|
||||||
if (snap.connectionState != ConnectionState.done) {
|
if (snap.connectionState != ConnectionState.done) {
|
||||||
return const CircularProgressIndicator();
|
return const Center(child: CircularProgressIndicator());
|
||||||
} else {
|
} else {
|
||||||
if (snap.hasData) {
|
if (snap.hasData) {
|
||||||
print(
|
print(
|
||||||
|
|
Loading…
Reference in a new issue