Skip to content

Commit

Permalink
fixed bug about parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Hindrikes committed Apr 21, 2021
1 parent 1b47a95 commit 72932ee
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/TinyMvvm.Forms/NavigationHelper/ShellNavigationHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,13 @@ public void RegisterRoute(string route, Type type)
}
}

internal Dictionary<string, string> GetQueryParameters(string tinyId)
internal Dictionary<string, string>? GetQueryParameters(string tinyId)
{
if(!queries.ContainsKey(tinyId))
{
return null;
}

var query = queries[tinyId];

var values = query.Split('&');
Expand Down

0 comments on commit 72932ee

Please sign in to comment.