mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-01 07:57:01 +00:00
Fix expiryDate property not being taken care of correctly
This commit is contained in:
parent
be94bf46a4
commit
c60a0604fc
@ -915,8 +915,8 @@
|
|||||||
|
|
||||||
BITHockeyLog(@"INFO: Start UpdateManager");
|
BITHockeyLog(@"INFO: Start UpdateManager");
|
||||||
|
|
||||||
if ([self expiryDateReached]) return;
|
[self checkExpiryDateReached];
|
||||||
|
if (![self expiryDateReached]) {
|
||||||
if (![self appVersionIsAuthorized]) {
|
if (![self appVersionIsAuthorized]) {
|
||||||
if ([self authorizationState] == BITUpdateAuthorizationPending) {
|
if ([self authorizationState] == BITUpdateAuthorizationPending) {
|
||||||
[self showBlockingScreen:BITHockeyLocalizedString(@"UpdateAuthorizationProgress") image:@"authorize_request.png"];
|
[self showBlockingScreen:BITHockeyLocalizedString(@"UpdateAuthorizationProgress") image:@"authorize_request.png"];
|
||||||
@ -928,6 +928,7 @@
|
|||||||
[self performSelector:@selector(checkForUpdate) withObject:nil afterDelay:1.0f];
|
[self performSelector:@selector(checkForUpdate) withObject:nil afterDelay:1.0f];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
if ([self checkForTracker]) {
|
if ([self checkForTracker]) {
|
||||||
// if we are in the app store, make sure not to send usage information in any case for now
|
// if we are in the app store, make sure not to send usage information in any case for now
|
||||||
|
Loading…
x
Reference in New Issue
Block a user