mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-30 17:29:23 +00:00
Fix off center timeline titles
This commit is contained in:
1 parent
f3a939b49d
commit
5dfb4f6488
1 file changed
-2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user