Fullscreen image attachment menu.

pull/1/head
Christine Corbett 10 years ago committed by Frederic Jacobs
parent 86c524ddbc
commit bf11775e10

@ -210,6 +210,7 @@
self.view.userInteractionEnabled = YES;
_isPresenting = NO;
}];
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
}];
}

@ -634,9 +634,7 @@ typedef enum : NSUInteger {
TSAttachmentStream *attStream = (TSAttachmentStream*)attachment;
FullImageViewController * vc = [[FullImageViewController alloc] initWithAttachment:attStream fromRect:convertedRect forInteraction:[self interactionAtIndexPath:indexPath]];
[self presentViewController:vc animated:YES completion:^{
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
}];
[vc presentFromViewController:self.navigationController];
}
} else {
DDLogWarn(@"Currently unsupported");

Loading…
Cancel
Save