Closed wiruzx closed 10 years ago
Someone else reported that, I couldn't reproduce it, and I tried adding error checking. @wiruzx Do you know what was on your pasteboard?
Only thing with 3 buttons is they become vertical, and Apple's alertView doesn't like 3 buttons + input field.
Sorry, that's mistake. It always crash. vxmihaylenko fixing this now
Oh, odd.
Speaking about cancel button - I know. I trying add cancel button and it's a little ugly. So maybe we should use something instead UIAlertView? What do you think?
@wiruzx Can we dynamically rename buttons? If the field is empty, have the left button be "Cancel" and once text is inputted have it be "Okay"
That, or just have a "Paste & Go" button and a "Cancel" as the user will not likely manually type in the 76-char ID's.
I think it will be a little confusing for user. But we can automatically paste ID from clipboard, if it match regexp. And there will be just "Ok" and "Cancel" buttons
if the user wants to type ID himself, we can select all the text, so when he started typing, all text will be replaced.
Or we could consolidate the two buttons, Camera and Add button into one which brings up a UIActionSheet, with QR Code, ID from Clipboard, and Manual.
Sounds good.
I'll work on that then, @wiruzx
In requests viewController, when you trying add friend, in alertView if input field isn't empty and you tap on "past & go" button app will crash. Also i think we need "Cancel" button.