mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
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
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user