chore: use fixed height searchBar

This commit is contained in:
CMK 2022-04-18 10:39:28 +08:00
parent b5e8e183f7
commit 8a95563976
1 changed files with 4 additions and 4 deletions

View File

@ -15,7 +15,7 @@ import MastodonLocalization
final class HeightFixedSearchBar: UISearchBar {
override var intrinsicContentSize: CGSize {
return CGSize(width: CGFloat.greatestFiniteMagnitude, height: CGFloat.greatestFiniteMagnitude)
return CGSize(width: CGFloat.greatestFiniteMagnitude, height: 36)
}
}