forked from organicmaps/organicmaps
Merge pull request #5113 from igrechuhin/MAPSME-3383
[MAPSME-3383] [ios] Fixed feedback crash on iOS 8.
This commit is contained in:
commit
c87e14db47
1 changed files with 2 additions and 1 deletions
|
@ -171,7 +171,8 @@ NSString * const kiOSEmail = @"ios@maps.me";
|
|||
UIAlertAction * cancel =
|
||||
[UIAlertAction actionWithTitle:kCancelActionTitle style:UIAlertActionStyleCancel handler:nil];
|
||||
[alert addAction:cancel];
|
||||
alert.preferredAction = cancel;
|
||||
if (!isIOS8)
|
||||
alert.preferredAction = cancel;
|
||||
|
||||
[self presentViewController:alert animated:YES completion:nil];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue