Fix dynamic type bug in account section header layouts where the account name needed to wrap

This commit is contained in:
Maurice Parker
2019-04-28 11:25:21 -05:00
parent d7391b208d
commit 2662352541
4 changed files with 24 additions and 22 deletions

View File

@@ -175,7 +175,7 @@ class MasterFeedViewController: ProgressTableViewController, UndoableCommandRunn
headerView.unreadCount = 0
}
let size = headerView.sizeThatFits(CGSize.zero)
let size = headerView.sizeThatFits(CGSize(width: tableView.bounds.width, height: 0.0))
return size.height
}