Skip to content

Commit

Permalink
Remove test code
Browse files Browse the repository at this point in the history
  • Loading branch information
tonisevener committed Sep 9, 2022
1 parent 9220d63 commit 05ca6b1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Wikipedia/Third Party Code/RMessage/RMessageView.m
Original file line number Diff line number Diff line change
Expand Up @@ -462,23 +462,20 @@ - (void)setupLayout
attribute:NSLayoutAttributeCenterX
multiplier:1.f
constant:0.f];
centerXConstraint.identifier = @"RMessageView to superview centerX";
NSLayoutConstraint *leadingConstraint = [NSLayoutConstraint constraintWithItem:self
attribute:NSLayoutAttributeLeading
relatedBy:NSLayoutRelationEqual
toItem:self.superview
attribute:NSLayoutAttributeLeading
multiplier:1.f
constant:0.f];
leadingConstraint.identifier = @"RMessageView to superview leading";
NSLayoutConstraint *trailingConstraint = [NSLayoutConstraint constraintWithItem:self
attribute:NSLayoutAttributeTrailing
relatedBy:NSLayoutRelationEqual
toItem:self.superview
attribute:NSLayoutAttributeTrailing
multiplier:1.f
constant:0.f];
trailingConstraint.identifier = @"RMessageView to superview trailing";
[[self class]
activateConstraints:@[centerXConstraint, leadingConstraint, trailingConstraint, self.topToVCLayoutConstraint]
inSuperview:self.superview];
Expand Down

0 comments on commit 05ca6b1

Please sign in to comment.