From 80e6cd6d161dd62095acc8a1b89010a3a7e404f8 Mon Sep 17 00:00:00 2001 From: Andreas Linde Date: Mon, 27 Jan 2014 00:01:13 +0100 Subject: [PATCH] Fixed "install" button in the mandatory update alert not working and forcing users to use the "show" button and then install from the update view instead --- Classes/BITUpdateManager.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Classes/BITUpdateManager.m b/Classes/BITUpdateManager.m index 6cbea70175..6f1211ae23 100644 --- a/Classes/BITUpdateManager.m +++ b/Classes/BITUpdateManager.m @@ -513,8 +513,8 @@ typedef NS_ENUM(NSInteger, BITUpdateAlertViewTag) { UIAlertView *alertView = [[UIAlertView alloc] initWithTitle:BITHockeyLocalizedString(@"UpdateAvailable") message:[NSString stringWithFormat:BITHockeyLocalizedString(@"UpdateAlertMandatoryTextWithAppVersion"), [self.newestAppVersion nameAndVersionString]] delegate:self - cancelButtonTitle:BITHockeyLocalizedString(@"UpdateInstall") - otherButtonTitles:BITHockeyLocalizedString(@"UpdateShow"), nil + cancelButtonTitle:nil + otherButtonTitles:BITHockeyLocalizedString(@"UpdateShow"), BITHockeyLocalizedString(@"UpdateInstall"), nil ]; [alertView setTag:BITUpdateAlertViewTagMandatoryUpdate]; [alertView show];