30 lines
1008 B
Swift
30 lines
1008 B
Swift
//
|
|
// SearchHistoryTableHeaderView.swift
|
|
// Mastodon
|
|
//
|
|
// Created by MainasuK Cirno on 2021-7-14.
|
|
//
|
|
|
|
import Foundation
|
|
|
|
// lazy var searchHeader: UIView = {
|
|
// let view = UIView()
|
|
// view.frame = CGRect(origin: .zero, size: CGSize(width: searchingTableView.frame.width, height: 56))
|
|
// return view
|
|
// }()
|
|
//
|
|
// let recentSearchesLabel: UILabel = {
|
|
// let label = UILabel()
|
|
// label.font = UIFontMetrics(forTextStyle: .headline).scaledFont(for: .systemFont(ofSize: 20, weight: .semibold))
|
|
// label.textColor = Asset.Colors.Label.primary.color
|
|
// label.text = L10n.Scene.Search.Searching.recentSearch
|
|
// return label
|
|
// }()
|
|
//
|
|
// let clearSearchHistoryButton: HighlightDimmableButton = {
|
|
// let button = HighlightDimmableButton(type: .custom)
|
|
// button.setTitleColor(Asset.Colors.brandBlue.color, for: .normal)
|
|
// button.setTitle(L10n.Scene.Search.Searching.clear, for: .normal)
|
|
// return button
|
|
// }()
|