forked from organicmaps/organicmaps
[ios] Fixed button titles in default alerts.
This commit is contained in:
parent
444e89246c
commit
32d48da77a
1 changed files with 2 additions and 2 deletions
|
@ -408,8 +408,8 @@ static NSString * const kDefaultAlertNibName = @"MWMDefaultAlert";
|
|||
alert.rightButtonAction = action;
|
||||
if (leftButtonTitle)
|
||||
{
|
||||
[alert.leftButton setTitle:rightButtonTitle forState:UIControlStateNormal];
|
||||
[alert.leftButton setTitle:rightButtonTitle forState:UIControlStateDisabled];
|
||||
[alert.leftButton setTitle:leftButtonTitle forState:UIControlStateNormal];
|
||||
[alert.leftButton setTitle:leftButtonTitle forState:UIControlStateDisabled];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue