Use BITHockeyBaseManager method for navigation

Call into BITHockeyBaseManager for a UINavigationController to
match other places in the code base.
This commit is contained in:
Dave Weston
2017-03-15 10:27:49 -07:00
parent 77ef59e666
commit 351c1fa3cd

View File

@@ -662,7 +662,7 @@
BITFeedbackMessageAttachment *attachment = self.imageAttachments[self.selectedAttachmentIndex];
BITImageAnnotationViewController *annotationEditor = [[BITImageAnnotationViewController alloc ] init];
annotationEditor.delegate = self;
UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:annotationEditor];
UINavigationController *navController = [self.manager customNavigationControllerWithRootViewController:annotationEditor presentationStyle:UIModalPresentationFullScreen];
annotationEditor.image = attachment.imageRepresentation;
[self presentViewController:navController animated:YES completion:nil];
}