Mark “Recent searches” as a heading (IOS-78)

This commit is contained in:
Jed Fox 2023-02-06 22:31:57 -05:00
parent 3b87916d9a
commit 3b4d782325
No known key found for this signature in database
GPG Key ID: 0B61D18EA54B47E1
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@ final class SearchHistorySectionHeaderCollectionReusableView: UICollectionReusab
label.font = UIFontMetrics(forTextStyle: .headline).scaledFont(for: .systemFont(ofSize: 22, weight: .bold)) label.font = UIFontMetrics(forTextStyle: .headline).scaledFont(for: .systemFont(ofSize: 22, weight: .bold))
label.textColor = Asset.Colors.Label.primary.color label.textColor = Asset.Colors.Label.primary.color
label.text = L10n.Scene.Search.Searching.recentSearch label.text = L10n.Scene.Search.Searching.recentSearch
label.accessibilityTraits.insert(.header)
return label return label
}() }()