Rename SPUUserUpdateStateNotDownloaded to SPUUserUpdateStateNew

Update documentation too.

Fix test app trying to make installable update skippable.
This commit is contained in:
Zorg committed 2021-04-16 16:40:33 -07:00
1 parent e64253be0b
commit ab9ffdb901
6 files changed
+12 -12

No files matched your search

+1 -1
View File
@@ -108,7 +108,7 @@
- (void)showUpdateFoundWithAppcastItem:(SUAppcastItem *)appcastItem userInitiated:(BOOL)userInitiated state:(SPUUserUpdateState)state reply:(void (^)(SPUUserUpdateChoice))reply
{
switch (state) {
case SPUUserUpdateStateNotDownloaded:
case SPUUserUpdateStateNew:
[self showUpdateWithAppcastItem:appcastItem updateAdjective:@"new"];
reply(SPUUserUpdateChoiceInstall);
break;