mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-24 04:38:16 +00:00
Don't hide skipping button for major upgrades if update is critical
This commit is contained in:
1 parent
e0a414909c
commit
0cdb0976ef
1 file changed
+1
-1
Vendored
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user