Skip to content

Commit

Permalink
Show squareCropButton on multiple selection
Browse files Browse the repository at this point in the history
  • Loading branch information
hanawat committed Mar 18, 2024
1 parent 2db04eb commit f4bb66e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions Source/Pages/Gallery/YPAssetViewContainer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f4bb66e

Please sign in to comment.