Skip to content

Commit

Permalink
Update navigation.md (#2609)
Browse files Browse the repository at this point in the history
Got feedback this sentence was confusing, so updated it for clarity.
  • Loading branch information
davidortinau authored Nov 8, 2024
1 parent d7d6aa7 commit 22e1f8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/notes-app/includes/navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ The final change to the about page is updating the button click that opens a web

:::code language="csharp" source="../snippets/navigation/Views/AboutPage.xaml.cs" id="learn_more" highlight="3,6":::

If you look at the highlighted line, the code checks if the `BindingContext` is a `Models.About` type, and if it is, assigns it's assigned to the `about` variable. The next line inside of the `if` statement opens the browser to the URL provided by the `about.MoreInfoUrl` property.
If you look at the highlighted line, the code checks if the `BindingContext` is a `Models.About` type, and if it is, assigns it to the `about` variable. The next line inside of the `if` statement opens the browser to the URL provided by the `about.MoreInfoUrl` property.

Run the app and you should see that it runs exactly the same as before. Try changing the about model's values and see how the UI and URL opened by the browser also change.

Expand Down

0 comments on commit 22e1f8a

Please sign in to comment.