diff --git a/GitUpKit/Utilities/GIViewController.m b/GitUpKit/Utilities/GIViewController.m index 956b8d4b..3aa47596 100644 --- a/GitUpKit/Utilities/GIViewController.m +++ b/GitUpKit/Utilities/GIViewController.m @@ -235,9 +235,7 @@ - (void)confirmUserActionWithAlertType:(GIAlertType)type NSButton* defaultButton = [alert addButtonWithTitle:button]; if (type == kGIAlertType_Danger) { defaultButton.keyEquivalent = @""; - } - if (@available(macOS 11, *)) { - if (type == kGIAlertType_Stop || type == kGIAlertType_Danger) { + if (@available(macOS 11, *)) { defaultButton.hasDestructiveAction = YES; } }