Removing keyboard when proposing new fingerprint.

pull/1/head
Frederic Jacobs 10 years ago
parent e269bd62ee
commit a55b00552d

@ -514,6 +514,8 @@ typedef enum : NSUInteger {
NSString *messageString = [NSString stringWithFormat:@"Do you want to accept %@'s new identity key: %@", _thread.name, newKeyFingerprint]; NSString *messageString = [NSString stringWithFormat:@"Do you want to accept %@'s new identity key: %@", _thread.name, newKeyFingerprint];
NSArray *actions = @[@"Accept new identity key", @"Copy new identity key to pasteboard"]; NSArray *actions = @[@"Accept new identity key", @"Copy new identity key to pasteboard"];
[self.inputToolbar.contentView resignFirstResponder];
[DJWActionSheet showInView:self.tabBarController.view withTitle:messageString cancelButtonTitle:@"Cancel" destructiveButtonTitle:@"Delete" otherButtonTitles:actions tapBlock:^(DJWActionSheet *actionSheet, NSInteger tappedButtonIndex) { [DJWActionSheet showInView:self.tabBarController.view withTitle:messageString cancelButtonTitle:@"Cancel" destructiveButtonTitle:@"Delete" otherButtonTitles:actions tapBlock:^(DJWActionSheet *actionSheet, NSInteger tappedButtonIndex) {
if (tappedButtonIndex == actionSheet.cancelButtonIndex) { if (tappedButtonIndex == actionSheet.cancelButtonIndex) {
NSLog(@"User Cancelled"); NSLog(@"User Cancelled");

@ -6,7 +6,6 @@
#import "PreferencesUtil.h" #import "PreferencesUtil.h"
#import "SignalUtil.h" #import "SignalUtil.h"
#import "SignalKeyingStorage.h" #import "SignalKeyingStorage.h"
#import <UICKeyChainStore/UICKeyChainStore.h>
@interface HttpRequestResponseTest : XCTestCase @interface HttpRequestResponseTest : XCTestCase

@ -3,7 +3,6 @@
#import "ResponderSessionDescriptor.h" #import "ResponderSessionDescriptor.h"
#import "TestUtil.h" #import "TestUtil.h"
#import "Util.h" #import "Util.h"
#import <UICKeyChainStore/UICKeyChainStore.h>
@interface SessionDescriptorTest : XCTestCase @interface SessionDescriptorTest : XCTestCase

Loading…
Cancel
Save