mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-27 05:04:27 +00:00
Move invoking showCanCheckForUpdates: outside of this completion
This commit is contained in:
1 parent
1bb301e82a
commit
c80015bf99
1 file changed
+1
-1
Vendored
+1
-1
@@ -416,10 +416,10 @@ static void SUCheckForUpdatesInBgReachabilityCheck(__weak SUUpdater *updater, id
|
||||
}
|
||||
};
|
||||
|
||||
[self.userDriver showCanCheckForUpdates:NO];
|
||||
[SUProbeInstallStatus probeInstallerInProgressForHost:self.host completion:^(BOOL success) {
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
SUUpdater *strongSelf = weakSelf;
|
||||
[strongSelf.userDriver showCanCheckForUpdates:NO];
|
||||
if (strongSelf != nil) {
|
||||
if (!success) {
|
||||
[strongSelf.driver checkForUpdatesAtAppcastURL:theFeedURL withUserAgent:[strongSelf userAgentString] httpHeaders:[strongSelf httpHeaders] completion:completionBlock];
|
||||
|
||||
Reference in new issue
Block a user