mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Tiny refactoring
This commit is contained in:
1 parent
bc52c0141a
commit
c9bdb6ef04
1 file changed
+1
-2
+1
-2
@@ -85,8 +85,7 @@ static SUUpdater *sharedUpdater = nil;
|
||||
|
||||
- (void)updatePermissionPromptFinishedWithResult:(SUPermissionPromptResult)result
|
||||
{
|
||||
BOOL automaticallyCheck = (result == SUAutomaticallyCheck);
|
||||
[[SUUserDefaults standardUserDefaults] setBool:automaticallyCheck forKey:SUEnableAutomaticChecksKey];
|
||||
[[SUUserDefaults standardUserDefaults] setBool:(result == SUAutomaticallyCheck) forKey:SUEnableAutomaticChecksKey];
|
||||
[self scheduleNextUpdateCheck];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user