Skip to content

Commit

Permalink
chore(samplesapp): Makes the ordering of samples the same on all plat…
Browse files Browse the repository at this point in the history
…forms.
  • Loading branch information
carldebilly committed Jun 16, 2020
1 parent d088b15 commit f514339
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/SamplesApp/SamplesApp.Shared/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ void ConfigureFilters(ILoggerFactory factory)

// Generic Xaml events
// { "Windows.UI.Xaml", LogLevel.Debug },
// { "Windows.UI.Xaml.Media", LogLevel.Debug },
// { "Windows.UI.Xaml.Shapes", LogLevel.Debug },
// { "Windows.UI.Xaml.VisualStateGroup", LogLevel.Debug },
// { "Windows.UI.Xaml.StateTriggerBase", LogLevel.Debug },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ from type in FindDefinedAssemblies(assembly)
let content = GetContent(type, sampleAttribute)
from category in content.Categories
group content by category into contentByCategory
orderby contentByCategory.Key
orderby contentByCategory.Key.ToLower(CultureInfo.CurrentUICulture)
select new SampleChooserCategory(contentByCategory);

return categories.AsParallel().ToList();
Expand Down

0 comments on commit f514339

Please sign in to comment.