Skip to content

Commit

Permalink
Fix route not found with upper char (#20)
Browse files Browse the repository at this point in the history
Co-authored-by: Markus Wenzl <markus@codency.at>
  • Loading branch information
DrWenz and Markus Wenzl authored Feb 5, 2024
1 parent faf9bc7 commit 1f4c7f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AvaloniaInside.Shell/NavigationRegistrar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ public void RegisterRoute(
}

public bool TryGetNode(string path, out NavigationNode node) =>
Navigations.TryGetValue(path, out node);
Navigations.TryGetValue(path.ToLower(), out node);
}

0 comments on commit 1f4c7f0

Please sign in to comment.