From f4bb66ea3111ef523d3727552fb3305f968630e0 Mon Sep 17 00:00:00 2001 From: takuro Date: Mon, 18 Mar 2024 11:03:33 +0900 Subject: [PATCH] Show squareCropButton on multiple selection --- Source/Pages/Gallery/YPAssetViewContainer.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Source/Pages/Gallery/YPAssetViewContainer.swift b/Source/Pages/Gallery/YPAssetViewContainer.swift index 832d49b2f..e24f10951 100644 --- a/Source/Pages/Gallery/YPAssetViewContainer.swift +++ b/Source/Pages/Gallery/YPAssetViewContainer.swift @@ -109,11 +109,6 @@ final class YPAssetViewContainer: UIView { /// Update only UI of square crop button. public func updateSquareCropButtonState() { - guard !isMultipleSelectionEnabled else { - // If multiple selection enabled, the squareCropButton is not visible - squareCropButton.isHidden = true - return - } guard !onlySquare else { // If only square enabled, than the squareCropButton is not visible squareCropButton.isHidden = true