Skip to content

Commit

Permalink
chore: remove an unnecessary parameter for alwaysUsingOnePresetFixedR…
Browse files Browse the repository at this point in the history
…atio
  • Loading branch information
Yingtao Guo committed Jan 30, 2023
1 parent f557445 commit 48d2a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Mantis/CropView/CropView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ extension CropView {
extension CropView: CropViewProtocol {
private func setForceFixedRatio(by presetFixedRatioType: PresetFixedRatioType) {
switch presetFixedRatioType {
case .alwaysUsingOnePresetFixedRatio(_):
case .alwaysUsingOnePresetFixedRatio:
forceFixedRatio = true
case .canUseMultiplePresetFixedRatio(let defaultRatio):
forceFixedRatio = defaultRatio > 0
Expand Down

0 comments on commit 48d2a52

Please sign in to comment.