-
Notifications
You must be signed in to change notification settings - Fork 272
Open
Labels
newNew issue request attentionNew issue request attention
Description
Describe the bug
This method never works because, when called, it sets the value in a variable that isn't used by Modular.initialRoute, as you can see in the following images:
I could access the correct value by calling Modular.initialRoutePath. But it generates a warning because this information is annotated with @VisibleForTesting. However, the method would still continue with no effect.
And for this method to really work, it is necessary to fix this code too.
initialRouteInformation: RouteInformation(uri: Uri.parse(initialRoute))
To Reproduce
Just try to set a new initial route and get initialRoute after. Will always be "/" and will have no effect.
Expected behavior
If I change the initialRoute, I expect to get the new one
Metadata
Metadata
Assignees
Labels
newNew issue request attentionNew issue request attention