Skip to content

Commit ed11bcb

Browse files
committed
finished change, now json only read once (done)
1 parent 45edb6f commit ed11bcb

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/routes/home.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ class HomePage extends StatelessWidget {
2424
if (snapshot.hasData)
2525
...snapshot.data
2626
else
27-
FindingLocation().sliverToBoxAdapter()
27+
// todo: set position to center
28+
Center(child: FindingLocation()).sliverToBoxAdapter()
2829
],
2930
).scaffold();
3031
},

0 commit comments

Comments
 (0)