Tinting added to Settings and Inspector

This commit is contained in:
Stuart Breckenridge
2020-10-27 15:10:30 +08:00
parent ee88e83548
commit 8661aae6b9
2 changed files with 2 additions and 2 deletions

View File

@@ -135,7 +135,7 @@ extension AccountInspectorViewController {
if section == 0 {
let headerView = tableView.dequeueReusableHeaderFooterView(withIdentifier: "SectionHeader") as! ImageHeaderView
headerView.imageView.image = AppAssets.image(for: account.type)
headerView.imageView.image = AppAssets.image(for: account.type)?.tinted(color: account.type.iconColor())
return headerView
} else {
return super.tableView(tableView, viewForHeaderInSection: section)