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

Commit

Permalink
Fixed build error
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuarezruiz committed Sep 14, 2020
1 parent 106a06c commit 4a77c38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Collections.Generic;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
using Xamarin.Forms.Shapes;

Expand All @@ -22,9 +21,7 @@ public class Issue11033 : TestContentPage
{
public Issue11033()
{
#if APP
Device.SetFlags(new List<string> { ExperimentalFlags.ShapesExperimental });
#endif

}

protected override void Init()
Expand Down
3 changes: 2 additions & 1 deletion Xamarin.Forms.Platform.iOS/Shapes/RectangleRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ public class RectangleRenderer : ShapeRenderer<FormsRectangle, RectangleView>
// Each corner of the rounded rectangle is one-quarter of an ellipse with axes equal to the RadiusX and Radius parameters.
const double MaximumRadius = 0.5d;

protected override void OnElementChanged(ElementChangedEventArgs<Rect> args)
[Internals.Preserve(Conditional = true)]
public RectangleRenderer()
{

}
Expand Down

0 comments on commit 4a77c38

Please sign in to comment.