Also return the storeURL for the app

This commit is contained in:
Andreas Linde
2013-04-01 01:39:05 +02:00
committed by Stephan Diederich
parent f4e9c8724d
commit 166f2c7ccd
2 changed files with 7 additions and 4 deletions

View File

@@ -268,8 +268,8 @@
}
if ([self isUpdateAvailable]) {
if (self.delegate && [self.delegate respondsToSelector:@selector(detectedUpdateFromStoreUpdateManager:newVersion:)]) {
[self.delegate detectedUpdateFromStoreUpdateManager:self newVersion:_newStoreVersion];
if (self.delegate && [self.delegate respondsToSelector:@selector(detectedUpdateFromStoreUpdateManager:newVersion:storeURL:)]) {
[self.delegate detectedUpdateFromStoreUpdateManager:self newVersion:_newStoreVersion storeURL:_appStoreURL];
}
if (self.updateUIEnabled && BITHockeyBundle()) {