Skip to content

Commit

Permalink
fix #157 - prompt result returning wrong argument
Browse files Browse the repository at this point in the history
  • Loading branch information
aritchie committed Apr 29, 2016
1 parent ce7b681 commit 60a5e42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Acr.UserDialogs.iOS/UserDialogsImpl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public override void Prompt(PromptConfig config)
)));
}
dlg.AddAction(UIAlertAction.Create(config.OkText, UIAlertActionStyle.Default, x =>
config.OnResult(new PromptResult(false, txt.Text.Trim())
config.OnResult(new PromptResult(true, txt.Text.Trim())
)));
dlg.AddTextField(x =>
{
Expand Down

0 comments on commit 60a5e42

Please sign in to comment.