Fix off center timeline titles

This commit is contained in:
Maurice Parker 2019-09-27 20:21:46 -05:00
parent f3a939b49d
commit 5dfb4f6488
1 changed files with 0 additions and 2 deletions

View File

@ -472,8 +472,6 @@ private extension MasterTimelineViewController {
titleView.label.text = coordinator.timelineName
if coordinator.timelineFetcher is Feed {
let width = titleView.sizeThatFits(CGSize(width: CGFloat.greatestFiniteMagnitude, height: CGFloat.greatestFiniteMagnitude)).width
titleView.widthAnchor.constraint(equalToConstant: width).isActive = true
titleView.heightAnchor.constraint(equalToConstant: 44.0).isActive = true
let tap = UITapGestureRecognizer(target: self, action:#selector(showFeedInspector(_:)))
titleView.addGestureRecognizer(tap)