From 90dc3329d1973fda691e357cf4523d5c7c67fa1d Mon Sep 17 00:00:00 2001 From: 杨锴 <841720330@qq.com> Date: 星期二, 11 三月 2025 12:23:53 +0800 Subject: [PATCH] fix bug --- Pods/SwifterSwift/Sources/SwifterSwift/UIKit/UIViewControllerExtensions.swift | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Pods/SwifterSwift/Sources/SwifterSwift/UIKit/UIViewControllerExtensions.swift b/Pods/SwifterSwift/Sources/SwifterSwift/UIKit/UIViewControllerExtensions.swift index b41b324..a2cb994 100755 --- a/Pods/SwifterSwift/Sources/SwifterSwift/UIKit/UIViewControllerExtensions.swift +++ b/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 } -- Gitblit v1.7.1