From 32d48da77a24ab7db4c6a5b921f048730c57b1ca Mon Sep 17 00:00:00 2001 From: Timofey Date: Tue, 13 Sep 2016 13:21:01 +0300 Subject: [PATCH] [ios] Fixed button titles in default alerts. --- .../Maps/Classes/CustomAlert/DefaultAlert/MWMDefaultAlert.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iphone/Maps/Classes/CustomAlert/DefaultAlert/MWMDefaultAlert.mm b/iphone/Maps/Classes/CustomAlert/DefaultAlert/MWMDefaultAlert.mm index 16a54b34b0..a62e7a33b9 100644 --- a/iphone/Maps/Classes/CustomAlert/DefaultAlert/MWMDefaultAlert.mm +++ b/iphone/Maps/Classes/CustomAlert/DefaultAlert/MWMDefaultAlert.mm @@ -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 {