Skip to content

Commit

Permalink
Merge pull request #1 from azchohfi/patch-1
Browse files Browse the repository at this point in the history
Null reference on HideRatingAlert fixed.
  • Loading branch information
chebum committed Feb 4, 2012
2 parents 157f9fd + e500ff9 commit 1d20a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Appirater.cs
Expand Up @@ -287,7 +287,7 @@ void ShowRatingAlert ()

void HideRatingAlert ()
{
if (ratingAlert.Visible) {
if (ratingAlert != null && ratingAlert.Visible) {
if (settings.Debug)
Debug.WriteLine ("APPIRATER Hiding Alert");
ratingAlert.DismissWithClickedButtonIndex (-1, false);
Expand Down

0 comments on commit 1d20a3f

Please sign in to comment.