mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Fix not showing that updates can be checked before permission request
This commit is contained in:
1 parent
4b75564b5f
commit
738490af07
1 file changed
+6
-4
Vendored
+6
-4
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user