Skip to content

Commit 235577d

Browse files
authored
Fix transition to stock details (flutter#29638)
1 parent a8c1960 commit 235577d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/stocks/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class StocksAppState extends State<StocksApp> {
8484
}
8585

8686
Route<dynamic> _getRoute(RouteSettings settings) {
87-
if (settings.name == '/stocks') {
87+
if (settings.name == '/stock') {
8888
final String symbol = settings.arguments;
8989
return MaterialPageRoute<void>(
9090
settings: settings,

0 commit comments

Comments
 (0)