[ios] Fixed button titles in default alerts.

This commit is contained in:
Timofey 2016-09-13 13:21:01 +03:00
parent 444e89246c
commit 32d48da77a

View file

@ -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
{