Unverified Commit 235577d3 authored by Michael Goderbauer's avatar Michael Goderbauer Committed by GitHub

Fix transition to stock details (#29638)

parent a8c1960f
...@@ -84,7 +84,7 @@ class StocksAppState extends State<StocksApp> { ...@@ -84,7 +84,7 @@ class StocksAppState extends State<StocksApp> {
} }
Route<dynamic> _getRoute(RouteSettings settings) { Route<dynamic> _getRoute(RouteSettings settings) {
if (settings.name == '/stocks') { if (settings.name == '/stock') {
final String symbol = settings.arguments; final String symbol = settings.arguments;
return MaterialPageRoute<void>( return MaterialPageRoute<void>(
settings: settings, settings: settings,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment