Fix not showing that updates can be checked before permission request

This commit is contained in:
Zorg committed 2016-05-01 17:09:44 -04:00
1 parent 4b75564b5f
commit 738490af07
1 file changed
+6 -4
+6 -4
View File
@@ -314,11 +314,13 @@ NSString *const SUUpdaterAppcastNotificationKey = @"SUUpdaterAppCastNotification
{
[self.userDriver invalidateUpdateCheckTimer];
if (![self automaticallyChecksForUpdates]) {
[self.userDriver idleOnUpdateChecks:YES];
BOOL automaticallyCheckForUpdates = [self automaticallyChecksForUpdates];
[self.userDriver showCanCheckForUpdates:!automaticallyCheckForUpdates];
[self.userDriver idleOnUpdateChecks:!automaticallyCheckForUpdates];
if (!automaticallyCheckForUpdates) {
return;
} else {
[self.userDriver idleOnUpdateChecks:NO];
}
if (firingImmediately) {