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; self.view.userInteractionEnabled = YES;
_isPresenting = NO; _isPresenting = NO;
}]; }];
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
}]; }];
} }

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

Loading…
Cancel
Save