fix: read SUAutomaticallyUpdate from Info.plist

`SUAutomaticallyUpdate` will now be read from `Info.plist` if it has not been set in `NSUserDefaults`. This brings the behavior into line with the documentation.
This commit is contained in:
Trevor DeVore committed 2020-08-28 20:30:22 -05:00
1 parent 1ff3ed7fad
commit 4f47fb02db
1 file changed
+1 -1
+1 -1
View File
@@ -482,7 +482,7 @@ static NSString *const SUUpdaterDefaultsObservationContext = @"SUUpdaterDefaults
}
// Otherwise, automatically downloading updates is allowed. Does the user want it?
return [self.host boolForUserDefaultsKey:SUAutomaticallyUpdateKey];
return [self.host boolForKey:SUAutomaticallyUpdateKey];
}
- (void)setFeedURL:(NSURL *)feedURL