diff --git a/lib/main.dart b/lib/main.dart index 6b88ef3..b40a89b 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -556,13 +556,13 @@ class _JourneyOverviewPageState extends State { return Column( children: [ Text('couldn\'t load Journeys'), - // ElevatedButton( - // onPressed: () { - // Future.delayed(Duration(milliseconds: 300)); - // setState(() {}); - // }, - // child: const Text('retry'), - // ), + ElevatedButton( + onPressed: () { + Future.delayed(Duration(milliseconds: 300)); + setState(() {}); + }, + child: const Text('retry'), + ), ], ); } @@ -570,13 +570,13 @@ class _JourneyOverviewPageState extends State { return Column( children: [ Text('No journeys found'), - // ElevatedButton( - // onPressed: () { - // Future.delayed(Duration(milliseconds: 300)); - // setState(() {}); - // }, - // child: const Text('retry'), - // ), + ElevatedButton( + onPressed: () { + Future.delayed(Duration(milliseconds: 300)); + setState(() {}); + }, + child: const Text('retry'), + ), ], ); }