Typo on null check
CrosswiredStudios opened this issue · 0 comments
CrosswiredStudios commented
if (!ActionButton.Hidden && ActionButton.Title(UIControlState.Normal) != String.Empty && *ActionButton* != null)
{
ActionBlock(this);
DismissAnimated(true);
}
should be
if (!ActionButton.Hidden && ActionButton.Title(UIControlState.Normal) != String.Empty && *ActionBlock* != null)
{
ActionBlock(this);
DismissAnimated(true);
}
or use
ActionBlock?.Invoke(this)