Skip to content

Commit

Permalink
fixed string element
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuj Bhatia committed Apr 17, 2012
1 parent ccbfd91 commit f93fec6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions MonoDroid.Dialog/StringElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ public StringElement(string caption, Action clicked)

public override View GetView(Context context, View convertView, ViewGroup parent)
{

View view = DroidResources.LoadStringElementLayout(context, convertView, parent, LayoutId, out _caption, out _text);
if (view != null)
{
Expand All @@ -72,7 +71,7 @@ public override View GetView(Context context, View convertView, ViewGroup parent
_text.Text = Value;
_text.TextSize = FontSize;
if (Click != null)
view.Click += delegate { this.Click(); };
view.Click += delegate { this.Click(); };
}
return view;
}
Expand Down

0 comments on commit f93fec6

Please sign in to comment.