Show and clear active filters

This commit is contained in:
Georg Bauer
2026-07-31 17:54:15 +02:00
parent eadbadd3cb
commit de49db0910
6 changed files with 156 additions and 6 deletions

View File

@@ -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