From 057ab42036fcb36f346cf73b2f399a4eeb6fd549 Mon Sep 17 00:00:00 2001 From: Stuart Breckenridge Date: Sat, 14 Jun 2025 14:46:41 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Removes=20Unread=20count=20from?= =?UTF-8?q?=20MainTimelineView?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit + adjusts contraints to ensure icon and title are centred. --- iOS/MainTimeline/MainTimelineTitleView.swift | 4 +- iOS/MainTimeline/MainTimelineTitleView.xib | 55 +++++++++++--------- 2 files changed, 31 insertions(+), 28 deletions(-) diff --git a/iOS/MainTimeline/MainTimelineTitleView.swift b/iOS/MainTimeline/MainTimelineTitleView.swift index 7a68a4493..3c4ca49df 100644 --- a/iOS/MainTimeline/MainTimelineTitleView.swift +++ b/iOS/MainTimeline/MainTimelineTitleView.swift @@ -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) diff --git a/iOS/MainTimeline/MainTimelineTitleView.xib b/iOS/MainTimeline/MainTimelineTitleView.xib index 9ea9ed250..2c75c4244 100644 --- a/iOS/MainTimeline/MainTimelineTitleView.xib +++ b/iOS/MainTimeline/MainTimelineTitleView.xib @@ -1,9 +1,8 @@ - + - - + @@ -11,38 +10,43 @@ - + - - - - - - - + + + + + + + + + + + + + - - + + + + + + - - - - - - - + + @@ -50,7 +54,6 @@ -