Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 506eb90

Browse files
authored
fix ipad custom nav view layout (#1572)
1 parent acbec9a commit 506eb90

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

Classes/Views/NavigationTitleDropdownView.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,6 @@ final class NavigationTitleDropdownView: UIControl {
106106
label.attributedText = attributedTitle
107107

108108
self.accessibilityLabel = accessibilityLabel ?? title
109-
110-
invalidateIntrinsicContentSize()
111-
112-
translatesAutoresizingMaskIntoConstraints = false
113-
layoutIfNeeded()
114-
sizeToFit()
115-
translatesAutoresizingMaskIntoConstraints = true
116109
}
117110

118111
// MARK: Private API

0 commit comments

Comments
 (0)