mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Make sure if the installed version is newer, mandatory is ignored
This commit is contained in:
parent
6480c28af4
commit
414da86d30
@ -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…
x
Reference in New Issue
Block a user