diff --git a/src/Core/src/Platform/iOS/ViewExtensions.cs b/src/Core/src/Platform/iOS/ViewExtensions.cs index 67483d4e3e85..561ee6e58f3e 100644 --- a/src/Core/src/Platform/iOS/ViewExtensions.cs +++ b/src/Core/src/Platform/iOS/ViewExtensions.cs @@ -59,9 +59,9 @@ public static void UpdateVisibility(this UIView platformView, Visibility visibil public static void UpdateBackground(this ContentView platformView, IBorderStroke border) { - bool hasBorder = border.Shape != null && border.Stroke != null; + bool hasShape = border.Shape != null; - if (hasBorder) + if (hasShape) { platformView.UpdateMauiCALayer(border); }