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

@@ -139,7 +139,7 @@ class SettingsViewController: UITableViewController {
let acctCell = tableView.dequeueReusableCell(withIdentifier: "SettingsComboTableViewCell", for: indexPath) as! SettingsComboTableViewCell
acctCell.applyThemeProperties()
let account = sortedAccounts[indexPath.row]
acctCell.comboImage?.image = AppAssets.image(for: account.type)
acctCell.comboImage?.image = AppAssets.image(for: account.type)?.tinted(color: account.type.iconColor())
acctCell.comboNameLabel?.text = account.nameForDisplay
cell = acctCell
}