Skip to content

Commit d49ba4b

Browse files
committed
Fix RouteInitializer argument for step07-step11
1 parent 3113643 commit d49ba4b

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

step_07/main.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class PhonecatAppModule extends Module {
1717
}
1818
}
1919

20-
phonecatRouteInitializer(Router router, ViewFactory views) =>
20+
phonecatRouteInitializer(Router router, RouteViewFactory views) =>
2121
views.configure({
2222
'phone-detail': ngRoute(
2323
path: '/phones/:phoneId',

step_08/main.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class PhonecatAppModule extends Module {
1717
}
1818
}
1919

20-
phonecatRouteInitializer(Router router, ViewFactory views) =>
20+
phonecatRouteInitializer(Router router, RouteViewFactory views) =>
2121
views.configure({
2222
'phone-detail': ngRoute(
2323
path: '/phones/:phoneId',

step_09/main.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class PhonecatAppModule extends Module {
1919
}
2020
}
2121

22-
phonecatRouteInitializer(Router router, ViewFactory views) =>
22+
phonecatRouteInitializer(Router router, RouteViewFactory views) =>
2323
views.configure({
2424
'phone-detail': ngRoute(
2525
path: '/phones/:phoneId',

step_10/main.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class PhonecatAppModule extends Module {
1919
}
2020
}
2121

22-
phonecatRouteInitializer(Router router, ViewFactory views) =>
22+
phonecatRouteInitializer(Router router, RouteViewFactory views) =>
2323
views.configure({
2424
'phone-detail': ngRoute(
2525
path: '/phones/:phoneId',

step_11/main.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class PhonecatAppModule extends Module {
2121
}
2222
}
2323

24-
phonecatRouteInitializer(Router router, ViewFactory views) =>
24+
phonecatRouteInitializer(Router router, RouteViewFactory views) =>
2525
views.configure({
2626
'phone-detail': ngRoute(
2727
path: '/phones/:phoneId',

0 commit comments

Comments
 (0)