diff --git a/Material.Styles/Converters/BrushRoundConverter.cs b/Material.Styles/Converters/BrushRoundConverter.cs index 1b9c6117..509e47e5 100644 --- a/Material.Styles/Converters/BrushRoundConverter.cs +++ b/Material.Styles/Converters/BrushRoundConverter.cs @@ -16,7 +16,7 @@ public class BrushRoundConverter : IValueConverter public object Convert(object? value, Type targetType, object? parameter, CultureInfo culture) { - if (value is not SolidColorBrush solidColorBrush) + if (value is not ISolidColorBrush solidColorBrush) return BindingOperations.DoNothing; var color = solidColorBrush.Color;