Don't hide skipping button for major upgrades if update is critical

This commit is contained in:
Zorg committed 2021-05-29 07:50:30 -07:00
1 parent e0a414909c
commit 0cdb0976ef
1 file changed
+1 -1
+1 -1
View File
@@ -386,7 +386,7 @@ static NSString *const SUUpdateAlertTouchBarIndentifier = @"" SPARKLE_BUNDLE_IDE
self.laterButton.title = SULocalizedString(@"Install on Quit", @"Alternate title for 'Remind Me Later' button when downloaded updates can be resumed");
}
if ([self.updateItem isCriticalUpdate]) {
if ([self.updateItem isCriticalUpdate] && !self.state.majorUpgrade) {
self.skipButton.hidden = YES;
self.laterButton.hidden = YES;
}