💄 Removes Unread count from MainTimelineView

+ adjusts contraints to ensure icon and title are centred.
This commit is contained in:
Stuart Breckenridge
2025-06-14 14:46:41 +08:00
parent 2c757a70c4
commit 057ab42036
2 changed files with 31 additions and 28 deletions

View File

@@ -33,7 +33,7 @@ class MainTimelineTitleView: UIView {
}
func buttonize() {
heightAnchor.constraint(equalToConstant: 40.0).isActive = true
heightAnchor.constraint(equalToConstant: 25.0).isActive = true
accessibilityTraits = .button
if #available(iOS 13.4, *) {
addInteraction(pointerInteraction)
@@ -41,7 +41,7 @@ class MainTimelineTitleView: UIView {
}
func debuttonize() {
heightAnchor.constraint(equalToConstant: 40.0).isActive = true
heightAnchor.constraint(equalToConstant: 25.0).isActive = true
accessibilityTraits.remove(.button)
if #available(iOS 13.4, *) {
removeInteraction(pointerInteraction)