Skip to content

Commit

Permalink
Update BasemapGalleryAppearanceSample.xaml.cs (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
duffh authored Oct 6, 2023
1 parent 5a4e2c9 commit 98e596c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ private void Button_Remove_Item(object? sender, EventArgs e)
{
if (Gallery.AvailableBasemaps?.Any() == true)
{
Gallery.AvailableBasemaps.Remove(Gallery.AvailableBasemaps.Last());
Gallery.AvailableBasemaps.RemoveAt(Gallery.AvailableBasemaps.Count - 1);
}
}
}
Expand Down

0 comments on commit 98e596c

Please sign in to comment.