mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Streamline usage of quoted message view.
This commit is contained in:
parent
195d357370
commit
d7ae35f72c
1 changed files with 1 additions and 2 deletions
|
@ -179,7 +179,6 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
[quotedAuthorLabel setCompressionResistanceLow];
|
||||
}
|
||||
|
||||
UILabel *quotedTextLabel;
|
||||
{
|
||||
// Stripe and text container.
|
||||
UIView *stripeAndTextContainer = [UIView containerView];
|
||||
|
@ -213,7 +212,7 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
[quoteStripView setCompressionResistanceHigh];
|
||||
|
||||
// Text.
|
||||
quotedTextLabel = [self configureQuotedTextLabel];
|
||||
UILabel *quotedTextLabel = [self configureQuotedTextLabel];
|
||||
[stripeAndTextContainer addSubview:quotedTextLabel];
|
||||
[quotedTextLabel autoPinTopToSuperviewMarginWithInset:self.quotedReplyStripeVExtension];
|
||||
[quotedTextLabel autoPinBottomToSuperviewMarginWithInset:self.quotedReplyStripeVExtension];
|
||||
|
|
Loading…
Reference in a new issue