mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Fix Xcode 6.3 Beta compiler warnings
This commit is contained in:
@@ -606,7 +606,7 @@ typedef NS_ENUM(NSInteger, BITUpdateAlertViewTag) {
|
||||
if (!self.checkInProgress) {
|
||||
|
||||
if (!_lastUpdateCheckFromBlockingScreen ||
|
||||
abs([NSDate timeIntervalSinceReferenceDate] - [_lastUpdateCheckFromBlockingScreen timeIntervalSinceReferenceDate]) > 60) {
|
||||
fabs([NSDate timeIntervalSinceReferenceDate] - [_lastUpdateCheckFromBlockingScreen timeIntervalSinceReferenceDate]) > 60) {
|
||||
_lastUpdateCheckFromBlockingScreen = [NSDate date];
|
||||
[self checkForUpdateShowFeedback:NO];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user