From 09a372bc45fde16fd42257ab6f78b8deeecf720b Mon Sep 17 00:00:00 2001 From: 杨锴 <841720330@qq.com> Date: 星期三, 16 四月 2025 16:38:05 +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