Show and clear active filters
This commit is contained in:
@@ -201,6 +201,13 @@ func configureTextCell(_ cell: UITableViewCell, title: String, detail: String, i
|
||||
cell.backgroundColor = .systemBackground
|
||||
}
|
||||
|
||||
func filterMenuImage(_ symbol: String, active: Bool) -> UIImage? {
|
||||
let image = UIImage(systemName: symbol)
|
||||
return active
|
||||
? image?.withTintColor(.systemBlue, renderingMode: .alwaysOriginal)
|
||||
: image
|
||||
}
|
||||
|
||||
func configureRepositoryContentCell(_ cell: UITableViewCell, row: RepositoryContentRow) {
|
||||
let directory = row.kind == "dir"
|
||||
let detail = directory
|
||||
|
||||
Reference in New Issue
Block a user