mirror of https://github.com/SnapKit/SnapKit
Add missing remove constraints function content
This commit is contained in:
parent
4f47f13902
commit
9f8ad44677
|
@ -175,7 +175,9 @@ public class ConstraintMaker {
|
||||||
}
|
}
|
||||||
|
|
||||||
internal static func removeConstraints(view: ConstraintView) {
|
internal static func removeConstraints(view: ConstraintView) {
|
||||||
|
for layoutConstraint in view.snp.installedLayoutConstraints {
|
||||||
|
layoutConstraint.constraint?.uninstall()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue