Skip to content

Commit

Permalink
Remove redundant constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
bstien committed Jun 18, 2019
1 parent 74f98b1 commit f8a1d61
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Demo/Components/Disclaimer/DisclaimerDemoView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public class DisclaimerDemoView: UIView {

NSLayoutConstraint.activate([
disclaimerView.topAnchor.constraint(equalTo: topAnchor, constant: .largeSpacing),
disclaimerView.centerXAnchor.constraint(equalTo: centerXAnchor),
disclaimerView.leadingAnchor.constraint(equalTo: leadingAnchor, constant: .mediumLargeSpacing),
disclaimerView.trailingAnchor.constraint(equalTo: trailingAnchor, constant: -.mediumLargeSpacing)
])
Expand Down

0 comments on commit f8a1d61

Please sign in to comment.