Browse Source

Fix warning

pull/10430/head
Daniil Pavliuchyk 3 years ago
parent
commit
5e13280b42
  1. 2
      src/Avalonia.Controls/Automation/Peers/RadioButtonAutomationPeer.cs

2
src/Avalonia.Controls/Automation/Peers/RadioButtonAutomationPeer.cs

@ -13,7 +13,7 @@ namespace Avalonia.Controls.Automation.Peers
{
if (e.Property == RadioButton.IsCheckedProperty)
{
RaiseToggleStatePropertyChangedEvent((bool)e.OldValue, (bool)e.NewValue);
RaiseToggleStatePropertyChangedEvent((bool?)e.OldValue, (bool?)e.NewValue);
}
};

Loading…
Cancel
Save