Skip to content

Commit

Permalink
Merge pull request #189 from hamberluo/master
Browse files Browse the repository at this point in the history
fix: route null pointer
  • Loading branch information
lukepighetti authored Oct 21, 2020
2 parents 93b23c1 + e1239cb commit ce9ad69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/fluro_router.dart
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class FluroRouter {
AppRouteMatch match = _routeTree.matchRoute(path);
AppRoute route = match?.route;

if (route.transitionDuration != null) {
if (route?.transitionDuration != null) {
transitionDuration = route.transitionDuration;
}

Expand Down

0 comments on commit ce9ad69

Please sign in to comment.