Add userDidSkipThisVersion case for informational updates

This commit is contained in:
Zorg committed 2021-02-20 20:33:58 -08:00
1 parent ea472ae3f0
commit e148659cbb
1 file changed
+4
+4
View File
@@ -118,6 +118,10 @@
switch (choice) {
case SPUSkipThisInformationalVersionChoice:
[self.host setObject:[updateItem versionString] forUserDefaultsKey:SUSkippedVersionKey];
if ([self.updaterDelegate respondsToSelector:@selector(updater:userDidSkipThisVersion:)]) {
[self.updaterDelegate updater:self.updater userDidSkipThisVersion:updateItem];
}
// Fall through
case SPUDismissInformationalNoticeChoice:
[self.delegate uiDriverIsRequestingAbortUpdateWithError:nil];