Fix iOS timeline layout issue with truncated bylines

This commit is contained in:
Maurice Parker 2020-04-19 17:28:00 -05:00
parent 6bd4c84c3c
commit b80270f65b
1 changed files with 2 additions and 1 deletions

View File

@ -98,7 +98,8 @@ extension MasterTimelineCellLayout {
var r = CGRect.zero
r.origin = point
let size = SingleLineUILabelSizer.size(for: cellData.feedName, font: MasterTimelineDefaultCellLayout.feedNameFont)
let feedName = cellData.showFeedName == .feed ? cellData.feedName : cellData.byline
let size = SingleLineUILabelSizer.size(for: feedName, font: MasterTimelineDefaultCellLayout.feedNameFont)
r.size = size
if r.size.width > textAreaWidth {