dismiss keyboard when showing corrupted message actionsheet

otherwise the keyboard covers the actionsheet.

// FREEBIE
pull/1/head
Michael Kirk 9 years ago
parent 21d37a92e5
commit 1bf77e8261

@ -1422,6 +1422,8 @@ typedef enum : NSUInteger {
- (void)handleErrorMessageTap:(TSErrorMessage *)message
{
[self dismissKeyBoard];
if ([message isKindOfClass:[TSInvalidIdentityKeyErrorMessage class]]) {
[self tappedInvalidIdentityKeyErrorMessage:(TSInvalidIdentityKeyErrorMessage *)message];
} else if (message.errorType == TSErrorMessageInvalidMessage) {
@ -1481,8 +1483,6 @@ typedef enum : NSUInteger {
NSLocalizedString(@"ACCEPT_NEW_IDENTITY_ACTION", @"Action sheet item")
];
[self dismissKeyBoard];
[DJWActionSheet showInView:self.parentViewController.view
withTitle:titleText
cancelButtonTitle:NSLocalizedString(@"TXT_CANCEL_TITLE", @"")

Loading…
Cancel
Save