Merge branch 'mkirk/fixup-lock'

This commit is contained in:
Michael Kirk 2019-02-07 12:44:40 -07:00
commit eb2db19ea5
1 changed files with 2 additions and 1 deletions

View File

@ -769,7 +769,8 @@ const CGFloat kMaxTextViewHeight = 98;
[sendVoiceMemoButton setTitleColor:UIColor.ows_signalBlueColor forState:UIControlStateNormal];
sendVoiceMemoButton.alpha = 0;
[self.voiceMemoContentView addSubview:sendVoiceMemoButton];
[sendVoiceMemoButton autoPinEdgesToSuperviewMarginsExcludingEdge:ALEdgeLeading];
[sendVoiceMemoButton autoPinEdgeToSuperviewMargin:ALEdgeTrailing withInset:10.f];
[sendVoiceMemoButton autoVCenterInSuperview];
[sendVoiceMemoButton setCompressionResistanceHigh];
[sendVoiceMemoButton setContentHuggingHigh];