mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Make sure if the installed version is newer, mandatory is ignored
This commit is contained in:
parent
6480c28af4
commit
414da86d30
1 changed files with 1 additions and 1 deletions
|
|
@ -1077,7 +1077,7 @@ static NSString *kHockeyErrorDomain = @"HockeyErrorDomain";
|
|||
BOOL result = NO;
|
||||
|
||||
for (BWApp *app in self.apps) {
|
||||
if ([app.version isEqualToString:self.currentAppVersion]) {
|
||||
if ([app.version isEqualToString:self.currentAppVersion] || [app.version versionCompare:self.currentAppVersion] == NSOrderedAscending) {
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue