mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
BugFix: send image is now enabled on ios8
This commit is contained in:
parent
14caf240c7
commit
2c99a58421
1 changed files with 1 additions and 0 deletions
|
@ -1293,6 +1293,7 @@ NSString *const kFailedEventId = @"failedEventId";
|
|||
weakSelf.actionMenu = [[CustomAlert alloc] initWithTitle:@"Select an attachment type:" message:nil style:CustomAlertStyleActionSheet];
|
||||
[weakSelf.actionMenu addActionWithTitle:@"Media" style:CustomAlertActionStyleDefault handler:^(CustomAlert *alert) {
|
||||
if (weakSelf) {
|
||||
weakSelf.actionMenu = nil;
|
||||
// Open media gallery
|
||||
UIImagePickerController *mediaPicker = [[UIImagePickerController alloc] init];
|
||||
mediaPicker.delegate = weakSelf;
|
||||
|
|
Loading…
Reference in a new issue