Tweak conversation input toolbar layout.

pull/1/head
Matthew Chen 7 years ago
parent 32d0433ee9
commit ccb174120f

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

@ -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" #import "OWSContactsManager.h"
@ -616,7 +616,6 @@ NSString *const OWSContactsManagerKeyNextFullIntersectionDate = @"OWSContactsMan
if (!signalAccount) { if (!signalAccount) {
// search system contacts for no-longer-registered signal users, for which there will be no 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]; Contact *_Nullable nonSignalContact = self.allContactsMap[recipientId];
if (!nonSignalContact) { if (!nonSignalContact) {
return nil; return nil;

Loading…
Cancel
Save