lukepighetti %!s(int64=5) %!d(string=hai) anos
pai
achega
caf02f61f1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/src/fluro_router.dart

+ 1 - 1
lib/src/fluro_router.dart

@@ -106,7 +106,7 @@ class FluroRouter {
     if (routeSettings == null) {
       settingsToUse = RouteSettings(name: path);
     }
-    if (routeSettings.name == null) {
+    if (settingsToUse.name == null) {
       settingsToUse = settingsToUse.copyWith(name: path);
     }
     AppRouteMatch match = _routeTree.matchRoute(path);