Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
wavedatatype
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikMennen committed Apr 5, 2024
1 parent cbeebe2 commit eefa2da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OneWare.Essentials/Converters/ObjectsEqualConverter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class ObjectsEqualConverter : IMultiValueConverter
public object Convert(IList<object?> values, Type targetType, object? parameter, CultureInfo culture)
{
for (var i = 0; i < values.Count; i++)
if (values[i] != values[0])
if (!values[i]?.Equals(values[0]) ?? false)
return false;
return true;
}
Expand Down

0 comments on commit eefa2da

Please sign in to comment.