Skip to content

Commit

Permalink
MAUI sample viewer fixes (#1428)
Browse files Browse the repository at this point in the history
  • Loading branch information
duffh authored Mar 29, 2024
1 parent cad67fb commit 8e965cc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/MAUI/Maui.Samples/MauiProgram.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

using CommunityToolkit.Maui;
using Esri.ArcGISRuntime.Maui;
using Esri.ArcGISRuntime.Toolkit.Maui;

public static class MauiProgram
{
Expand All @@ -19,7 +20,9 @@ public static MauiApp CreateMauiApp()
fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
fonts.AddFont("calcite-ui-icons-24.ttf", "calcite-ui-icons-24");
}).UseArcGISRuntime();
})
.UseArcGISRuntime()
.UseArcGISToolkit();

return builder.Build();
}
Expand Down
1 change: 1 addition & 0 deletions src/Samples.Shared/Managers/SampleManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ private void BuildSampleCategories()
#if INCLUDE_SAMPLES_SUBSET
// Add a category for the samples subset.
FullTree.Items.Insert(0, GetSearchableTreeNodeFromFile("SubsetSamples.xml", "Subset", false));
FullTree.Items.Insert(1, GetSearchableTreeNodeFromFile("FeaturedSamples.xml", "Featured"));
#else
// Add a category for featured samples.
FullTree.Items.Insert(0, GetSearchableTreeNodeFromFile("FeaturedSamples.xml", "Featured"));
Expand Down

0 comments on commit 8e965cc

Please sign in to comment.