Browse Source

fixes: Revert the fix, because the fix throw error CS8627 on Linux and macOS

pull/6754/head
Giuseppe Lippolis 5 years ago
parent
commit
44225c6614
  1. 2
      src/Avalonia.Base/Data/BindingValue.cs

2
src/Avalonia.Base/Data/BindingValue.cs

@ -247,7 +247,7 @@ namespace Avalonia.Data
UnsetValueType _ => Unset, UnsetValueType _ => Unset,
DoNothingType _ => DoNothing, DoNothingType _ => DoNothing,
BindingNotification n => n.ToBindingValue().Cast<T>(), BindingNotification n => n.ToBindingValue().Cast<T>(),
_ => new BindingValue<T>((T?)value) _ => new BindingValue<T>((T)value)
}; };
} }

Loading…
Cancel
Save