Rename SPUUpdateState back to SPUUserUpdateState

This commit is contained in:
Zorg committed 2021-05-31 11:13:05 -07:00
1 parent 062bfaaa97
commit ee5e98d3dd
15 files changed
+138 -153

No files matched your search

+5 -5
View File
@@ -133,10 +133,10 @@
}];
}
- (void)showUpdateFoundWithAppcastItem:(SUAppcastItem *)appcastItem state:(SPUUpdateState *)state reply:(void (^)(SPUUserUpdateChoice))reply
- (void)showUpdateFoundWithAppcastItem:(SUAppcastItem *)appcastItem state:(SPUUserUpdateState *)state reply:(void (^)(SPUUserUpdateChoice))reply
{
switch (state.stage) {
case SPUUpdateStageInformational:
case SPUUserUpdateStageInformational:
// Todo: show user interface for this
NSLog(@"Found info URL: %@", appcastItem.infoURL);
@@ -146,9 +146,9 @@
reply(SPUUserUpdateChoiceDismiss);
break;
case SPUUpdateStageNotDownloaded:
case SPUUpdateStageDownloaded:
case SPUUpdateStageInstalling:
case SPUUserUpdateStageNotDownloaded:
case SPUUserUpdateStageDownloaded:
case SPUUserUpdateStageInstalling:
[self showUpdateWithAppcastItem:appcastItem reply:reply];
break;
}