mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
Reduce the width of URL previews on 4" devices.
This commit is contained in:
@@ -388,6 +388,8 @@ const CGFloat kTypingCellHeight = 24;
|
||||
[bubbleCell.tmpSubviews addObject:urlPreviewView];
|
||||
|
||||
urlPreviewView.translatesAutoresizingMaskIntoConstraints = NO;
|
||||
// TODO: Use cellData.maxTextViewWidth when the view height is part of RoomBubbleCellData's additional height.
|
||||
urlPreviewView.availableWidth = tableView.contentSize.width;
|
||||
[bubbleCell.contentView addSubview:urlPreviewView];
|
||||
|
||||
CGFloat leftMargin = RoomBubbleCellLayout.reactionsViewLeftMargin;
|
||||
|
||||
Reference in New Issue
Block a user