mirror of https://github.com/SnapKit/SnapKit
Fix wrong function call within contentCompressionResistanceHorizontalPriority (#387)
This commit is contained in:
parent
ab6c1fd91f
commit
b313f3e637
|
@ -74,7 +74,7 @@ public struct ConstraintViewDSL: ConstraintAttributesDSL {
|
|||
return self.view.contentCompressionResistancePriority(for: .horizontal)
|
||||
}
|
||||
set {
|
||||
self.view.setContentHuggingPriority(newValue, for: .horizontal)
|
||||
self.view.setContentCompressionResistancePriority(newValue, for: .horizontal)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue