From f8a1d61a8cb90e8354e3626ada28cf49df0167b5 Mon Sep 17 00:00:00 2001 From: Bastian Stien Date: Tue, 18 Jun 2019 12:28:32 +0200 Subject: [PATCH] Remove redundant constraint --- Demo/Components/Disclaimer/DisclaimerDemoView.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Demo/Components/Disclaimer/DisclaimerDemoView.swift b/Demo/Components/Disclaimer/DisclaimerDemoView.swift index 22e2ab29e1..2a89899d40 100644 --- a/Demo/Components/Disclaimer/DisclaimerDemoView.swift +++ b/Demo/Components/Disclaimer/DisclaimerDemoView.swift @@ -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) ])