Committed by
GitHub
Merge pull request #636 from marcosfons/master
fix(unknownRoute): Fix customTransition being called on null
Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -126,7 +126,7 @@ class GetMaterialApp extends StatelessWidget { | @@ -126,7 +126,7 @@ class GetMaterialApp extends StatelessWidget { | ||
| 126 | RouteSettings(name: settings.name, arguments: settings.arguments), | 126 | RouteSettings(name: settings.name, arguments: settings.arguments), |
| 127 | curve: unknownRoute.curve, | 127 | curve: unknownRoute.curve, |
| 128 | opaque: unknownRoute.opaque, | 128 | opaque: unknownRoute.opaque, |
| 129 | - customTransition: match.route.customTransition, | 129 | + customTransition: unknownRoute.customTransition, |
| 130 | binding: unknownRoute.binding, | 130 | binding: unknownRoute.binding, |
| 131 | bindings: unknownRoute.bindings, | 131 | bindings: unknownRoute.bindings, |
| 132 | transitionDuration: | 132 | transitionDuration: |
-
Please register or login to post a comment