杨锴
2025-03-11 90dc3329d1973fda691e357cf4523d5c7c67fa1d
Pods/SwifterSwift/Sources/SwifterSwift/UIKit/UIViewControllerExtensions.swift
@@ -89,7 +89,7 @@
            })
            alertController.addAction(action)
            // Check which button to highlight
            if let highlightedButtonIndex = highlightedButtonIndex, index == highlightedButtonIndex {
            if let highlightedButtonIndex, index == highlightedButtonIndex {
                alertController.preferredAction = action
            }
        }
@@ -136,7 +136,7 @@
        completion: (() -> Void)? = nil) {
        popoverContent.modalPresentationStyle = .popover
        if let size = size {
        if let size {
            popoverContent.preferredContentSize = size
        }