Skip to content

Commit 78bb3ed

Browse files
committed
CI fixes
1 parent c2118e8 commit 78bb3ed

File tree

2 files changed

+18
-25
lines changed

2 files changed

+18
-25
lines changed

CommunityToolkit.App.Shared/Helpers/NavigationViewHelper.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44
using CommunityToolkit.Tooling.SampleGen.Metadata;
5-
using Windows.UI.Xaml.Media.Imaging;
65

76
namespace CommunityToolkit.App.Shared.Helpers;
87

CommunityToolkit.App.Shared/Pages/GettingStartedPage.xaml.cs

Lines changed: 18 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,34 +3,28 @@
33
// See the LICENSE file in the project root for more information.
44

55
using CommunityToolkit.Tooling.SampleGen.Metadata;
6-
using CommunityToolkit.Tooling.SampleGen;
7-
using Windows.Storage;
86

9-
namespace CommunityToolkit.App.Shared.Pages
7+
namespace CommunityToolkit.App.Shared.Pages;
8+
9+
public sealed partial class GettingStartedPage : Page
1010
{
11-
public sealed partial class GettingStartedPage : Page
11+
public GettingStartedPage()
1212
{
13-
public GettingStartedPage()
14-
{
15-
this.InitializeComponent();
16-
}
17-
18-
/// <summary>
19-
/// Gets the items used for navigating.
20-
/// </summary>
21-
protected override void OnNavigatedTo(NavigationEventArgs e)
22-
{
23-
controlsGridView.ItemsSource = e.Parameter as IEnumerable<ToolkitFrontMatter>;
24-
25-
26-
base.OnNavigatedTo(e);
27-
}
13+
this.InitializeComponent();
14+
}
2815

29-
private async void controlsGridView_ItemClick(object sender, ItemClickEventArgs e)
30-
{
31-
var selectedSample = e.ClickedItem as ToolkitFrontMatter;
16+
/// <summary>
17+
/// Gets the items used for navigating.
18+
/// </summary>
19+
protected override void OnNavigatedTo(NavigationEventArgs e)
20+
{
21+
controlsGridView.ItemsSource = e.Parameter as IEnumerable<ToolkitFrontMatter>;
22+
base.OnNavigatedTo(e);
23+
}
3224

33-
Shell.Current?.NavigateToSample(selectedSample);
34-
}
25+
private void controlsGridView_ItemClick(object sender, ItemClickEventArgs e)
26+
{
27+
var selectedSample = e.ClickedItem as ToolkitFrontMatter;
28+
Shell.Current?.NavigateToSample(selectedSample);
3529
}
3630
}

0 commit comments

Comments
 (0)