Skip to content

Commit

Permalink
Merge branch 'feature/better-navigation-options' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstonis committed Sep 8, 2023
2 parents 7971887 + d5ef535 commit 317824f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Stellar.Maui/Extensions/NavigationObservableExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,16 @@ public static void SetViewModelParameters<TPage>(TPage page, IDictionary<string,
}
}
}

if (page is IQueryAttributable pqa)
{
pqa.ApplyQueryAttributes(queryParameters);
}

if (viewModel is IQueryAttributable vmqa)
{
vmqa.ApplyQueryAttributes(queryParameters);
}
}

public record NavigationOptions<TPage, TParameter>
Expand Down

0 comments on commit 317824f

Please sign in to comment.