Skip to content

Commit

Permalink
fix: Correcting markup
Browse files Browse the repository at this point in the history
  • Loading branch information
nickrandolph committed Jan 2, 2024
1 parent 27179df commit 0a5fbd1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ public LoginPage()
#if useToolkit
new NavigationBar().Content(() => vm.Title),
#else
new TextBlock()
.Text(() => vm.Title)
.HorizontalAlignment(HorizontalAlignment.Center)
new TextBlock()
.Text(() => vm.Title)
.HorizontalAlignment(HorizontalAlignment.Center),
#endif
new StackPanel()
.Grid(row: 1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ public MainPage()
#if useToolkit
new NavigationBar().Content(() => vm.Title),
#else
new TextBlock()
.Text(() => vm.Title)
.HorizontalAlignment(HorizontalAlignment.Center)
new TextBlock()
.Text(() => vm.Title)
.HorizontalAlignment(HorizontalAlignment.Center),
#endif
new StackPanel()
.Grid(row: 1)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public SecondPage()
#else
new TextBlock()
.Text("Second Page")
.HorizontalAlignment(HorizontalAlignment.Center)
.HorizontalAlignment(HorizontalAlignment.Center),
#endif
new TextBlock()
.Text(() => vm.Entity.Name)
Expand Down

0 comments on commit 0a5fbd1

Please sign in to comment.