mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-15 07:19:57 +00:00
Fix a warning
Fix a compiler warning when only building for simulator
This commit is contained in:
@@ -741,7 +741,8 @@ typedef NS_ENUM(NSInteger, BITUpdateAlertViewTag) {
|
||||
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:BITHockeyLocalizedString(@"UpdateWarning") message:BITHockeyLocalizedString(@"UpdateSimulatorMessage") delegate:nil cancelButtonTitle:BITHockeyLocalizedString(@"HockeyOK") otherButtonTitles:nil];
|
||||
[alert show];
|
||||
return NO;
|
||||
#endif
|
||||
|
||||
#else
|
||||
|
||||
NSString *extraParameter = [NSString string];
|
||||
if (_sendUsageData && self.installationIdentification && self.installationIdentificationType) {
|
||||
@@ -761,6 +762,8 @@ typedef NS_ENUM(NSInteger, BITUpdateAlertViewTag) {
|
||||
_didStartUpdateProcess = success;
|
||||
|
||||
return success;
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user