Skip to content

Commit

Permalink
finished change, now json only read once (done)
Browse files Browse the repository at this point in the history
  • Loading branch information
ninest committed Apr 11, 2020
1 parent 45edb6f commit ed11bcb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/routes/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ class HomePage extends StatelessWidget {
if (snapshot.hasData)
...snapshot.data
else
FindingLocation().sliverToBoxAdapter()
// todo: set position to center
Center(child: FindingLocation()).sliverToBoxAdapter()
],
).scaffold();
},
Expand Down

0 comments on commit ed11bcb

Please sign in to comment.