From 351c1fa3cd2e2c96f4b8db9c3622435d08a67982 Mon Sep 17 00:00:00 2001 From: Dave Weston Date: Wed, 15 Mar 2017 10:27:49 -0700 Subject: [PATCH] Use BITHockeyBaseManager method for navigation Call into BITHockeyBaseManager for a UINavigationController to match other places in the code base. --- Classes/BITFeedbackComposeViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/BITFeedbackComposeViewController.m b/Classes/BITFeedbackComposeViewController.m index 93f0f85b17..8006c22212 100644 --- a/Classes/BITFeedbackComposeViewController.m +++ b/Classes/BITFeedbackComposeViewController.m @@ -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]; }