Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix warnings in LayerCollection tests #2839

Merged
merged 6 commits into from
Jan 5, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed nullable warning
  • Loading branch information
inforithmics committed Jan 3, 2025
commit 3085e9535896d57b66220f5c45fb4eb66acd0ab6
4 changes: 2 additions & 2 deletions Samples/Mapsui.Samples.Maui.MapView/MapPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace Mapsui.Samples.Maui;
public sealed partial class MapPage : ContentPage, IDisposable
{
private CancellationTokenSource? _gpsCancelation;
public Func<UI.Maui.MapView, MapClickedEventArgs, bool>? Clicker { get; set; }
public Func<UI.Maui.MapView?, MapClickedEventArgs, bool>? Clicker { get; set; }

public MapPage()
{
Expand All @@ -30,7 +30,7 @@ public MapPage()
ArgumentNullException.ThrowIfNull(info, nameof(info));
}

public MapPage(ISampleBase sample, Func<UI.Maui.MapView, MapClickedEventArgs, bool>? c = null)
public MapPage(ISampleBase sample, Func<UI.Maui.MapView?, MapClickedEventArgs, bool>? c = null)
{
InitializeComponent();

Expand Down
Loading