mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Fullscreen image attachment menu.
This commit is contained in:
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…
Reference in a new issue