Respond to CR.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent 9779527cf2
commit 1acb2d7493

@ -13,6 +13,7 @@
#import "OWSContactsManager.h" #import "OWSContactsManager.h"
#import "PhoneNumber.h" #import "PhoneNumber.h"
#import "ShowGroupMembersViewController.h" #import "ShowGroupMembersViewController.h"
#import "Signal-Swift.h"
#import "UIFont+OWS.h" #import "UIFont+OWS.h"
#import "UIUtil.h" #import "UIUtil.h"
#import "UIView+OWS.h" #import "UIView+OWS.h"
@ -191,8 +192,7 @@ NS_ASSUME_NONNULL_BEGIN
if (!strongSelf) { if (!strongSelf) {
return; return;
} }
FingerprintViewController *fingerprintViewController = FingerprintViewController *fingerprintViewController = [[UIStoryboard main]
[[UIStoryboard storyboardWithName:@"Main" bundle:NULL]
instantiateViewControllerWithIdentifier:@"FingerprintViewController"]; instantiateViewControllerWithIdentifier:@"FingerprintViewController"];
OWSFingerprintBuilder *fingerprintBuilder = OWSFingerprintBuilder *fingerprintBuilder =
@ -332,8 +332,7 @@ NS_ASSUME_NONNULL_BEGIN
return; return;
} }
NewGroupViewController *newGroupViewController = NewGroupViewController *newGroupViewController =
[[UIStoryboard storyboardWithName:@"Main" bundle:NULL] [[UIStoryboard main] instantiateViewControllerWithIdentifier:@"NewGroupViewController"];
instantiateViewControllerWithIdentifier:@"NewGroupViewController"];
[newGroupViewController configWithThread:(TSGroupThread *)strongSelf.thread]; [newGroupViewController configWithThread:(TSGroupThread *)strongSelf.thread];
[strongSelf.navigationController pushViewController:newGroupViewController animated:YES]; [strongSelf.navigationController pushViewController:newGroupViewController animated:YES];
}], }],
@ -366,8 +365,7 @@ NS_ASSUME_NONNULL_BEGIN
return; return;
} }
ShowGroupMembersViewController *showGroupMembersViewController = ShowGroupMembersViewController *showGroupMembersViewController =
[[UIStoryboard storyboardWithName:@"Main" bundle:NULL] [[UIStoryboard main] instantiateViewControllerWithIdentifier:@"ShowGroupMembersViewController"];
instantiateViewControllerWithIdentifier:@"ShowGroupMembersViewController"];
[showGroupMembersViewController configWithThread:(TSGroupThread *)strongSelf.thread]; [showGroupMembersViewController configWithThread:(TSGroupThread *)strongSelf.thread];
[strongSelf.navigationController pushViewController:showGroupMembersViewController animated:YES]; [strongSelf.navigationController pushViewController:showGroupMembersViewController animated:YES];
}], }],
@ -561,8 +559,8 @@ NS_ASSUME_NONNULL_BEGIN
{ {
if (sender.state == UIGestureRecognizerStateBegan || sender.state == UIGestureRecognizerStateRecognized) { if (sender.state == UIGestureRecognizerStateBegan || sender.state == UIGestureRecognizerStateRecognized) {
if (self.isGroupThread) { if (self.isGroupThread) {
NewGroupViewController *newGroupViewController = [[UIStoryboard storyboardWithName:@"Main" bundle:NULL] NewGroupViewController *newGroupViewController =
instantiateViewControllerWithIdentifier:@"NewGroupViewController"]; [[UIStoryboard main] instantiateViewControllerWithIdentifier:@"NewGroupViewController"];
[newGroupViewController configWithThread:(TSGroupThread *)self.thread]; [newGroupViewController configWithThread:(TSGroupThread *)self.thread];
CGPoint location = [sender locationInView:self.avatarView]; CGPoint location = [sender locationInView:self.avatarView];

Loading…
Cancel
Save