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

Commit

Permalink
Merge branch 'portable-bait-and-switch' of https://github.com/xamarin…
Browse files Browse the repository at this point in the history
…/Xamarin.Auth into portable-bait-and-switch
  • Loading branch information
moljac committed Mar 30, 2017
2 parents 975217a + 2b99987 commit 77a4eb0
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,14 @@ is your activity running?
https://bugzilla.xamarin.com/show_bug.cgi?id=37870
https://forums.xamarin.com/discussion/11491/xamarin-auth-alway-throws-exception-on-android
should be also prevented by checking if the activity is finishing (in that case avoid adding the alert dialog)
*/
try
{
if (activity.IsFinishing)
return;

var b = new AlertDialog.Builder(activity);
b.SetMessage(message);
b.SetTitle(title);
Expand Down

0 comments on commit 77a4eb0

Please sign in to comment.