mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-25 21:41:23 +00:00
Use BITHockeyBaseManager method for navigation
Call into BITHockeyBaseManager for a UINavigationController to match other places in the code base.
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user