Tweak conversation input toolbar layout.

This commit is contained in:
Matthew Chen 2019-01-28 14:44:50 -05:00
parent 32d0433ee9
commit ccb174120f
2 changed files with 3 additions and 3 deletions

View File

@ -124,7 +124,8 @@ const CGFloat kMaxTextViewHeight = 98;
self.inputTextView.textViewToolbarDelegate = self;
self.inputTextView.font = [UIFont ows_dynamicTypeBodyFont];
self.inputTextView.backgroundColor = Theme.toolbarBackgroundColor;
[self.inputTextView setContentHuggingHorizontalLow];
[self.inputTextView setContentHuggingLow];
[self.inputTextView setCompressionResistanceLow];
_textViewHeightConstraint = [self.inputTextView autoSetDimension:ALDimensionHeight toSize:kMinTextViewHeight];

View File

@ -1,5 +1,5 @@
//
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
//
#import "OWSContactsManager.h"
@ -616,7 +616,6 @@ NSString *const OWSContactsManagerKeyNextFullIntersectionDate = @"OWSContactsMan
if (!signalAccount) {
// search system contacts for no-longer-registered signal users, for which there will be no SignalAccount
OWSLogDebug(@"no signal account");
Contact *_Nullable nonSignalContact = self.allContactsMap[recipientId];
if (!nonSignalContact) {
return nil;