mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-26 04:57:54 +00:00
Fixes 244726
Fixed a typo in a respondsToSelector call which caused the shouldPromptForPermissionToCheckForUpdatesToHostBundle: method not to work in 1.5b2.
This commit is contained in:
1 parent
251706d646
commit
a67b546a02
1 file changed
+1
-1
+1
-1
@@ -60,7 +60,7 @@ static SUUpdater *sharedUpdater = nil;
|
||||
[[SUUserDefaults standardUserDefaults] boolForKey:SUEnableAutomaticChecksKey] == NO) { return; }
|
||||
|
||||
// Does the delegate want to take care of the logic for when we should ask permission to update?
|
||||
if ([delegate respondsToSelector:@selector(shouldPromptForPermissionToCheckForUpdatesToHostBundle)])
|
||||
if ([delegate respondsToSelector:@selector(shouldPromptForPermissionToCheckForUpdatesToHostBundle:)])
|
||||
{
|
||||
if ([delegate shouldPromptForPermissionToCheckForUpdatesToHostBundle:hostBundle])
|
||||
[SUUpdatePermissionPrompt promptWithHostBundle:hostBundle delegate:self];
|
||||
|
||||
Reference in new issue
Block a user