Skip to content

Commit

Permalink
fix nullability warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Edward Miller committed Sep 29, 2024
1 parent 006e616 commit be64a24
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace Maui.DataGrid.Converters;

public class BorderThicknessToCellPaddingConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
public object Convert(object? value, Type? targetType, object? parameter, CultureInfo? culture)
{
if (value is Thickness thickness)
{
Expand All @@ -14,7 +14,7 @@ public object Convert(object value, Type targetType, object parameter, CultureIn
return new Thickness(0);
}

public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
public object ConvertBack(object? value, Type? targetType, object? parameter, CultureInfo? culture)
{
throw new NotImplementedException();
}
Expand Down

0 comments on commit be64a24

Please sign in to comment.