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 Aug 18, 2020
1 parent 32d2773 commit b4ad490
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,24 @@ namespace Xamarin.Forms.Controls.Issues
[Issue(IssueTracker.Github, 11795, "[Bug] Brushes API - gradient offset does nothing on Android", PlatformAffected.Android)]
public partial class Issue11795 : TestContentPage
{
#if APP
float _offset1, _offset2;

#endif
public Issue11795()
{
#if APP
Title = "Issue 11795";
Device.SetFlags(new List<string> { ExperimentalFlags.BrushExperimental });
InitializeComponent();

_offset1 = 0.1f;
_offset2 = 0.9f;
#endif
}

protected override void Init()
{
_offset1 = 0.1f;
_offset2 = 0.9f;

}

#if APP
Expand Down

0 comments on commit b4ad490

Please sign in to comment.