@@ -15,6 +15,7 @@ private struct HistoryPanelUX {
15
15
static let IconSize = 23
16
16
static let IconBorderColor = UIColor . Photon. Grey30
17
17
static let IconBorderWidth : CGFloat = 0.5
18
+ static let actionIconColor = UIColor . Photon. Grey40 // Works for light and dark theme.
18
19
}
19
20
20
21
private class FetchInProgressError : MaybeErrorType {
@@ -338,7 +339,7 @@ class HistoryPanel: SiteTableViewController, HomePanel {
338
339
cell. textLabel? . text = Strings . HistoryPanelClearHistoryButtonTitle
339
340
cell. detailTextLabel? . text = " "
340
341
cell. imageView? . image = UIImage . templateImageNamed ( " forget " )
341
- cell. imageView? . tintColor = UIColor ( colorString : " 0xb2b2b2 " )
342
+ cell. imageView? . tintColor = HistoryPanelUX . actionIconColor
342
343
cell. imageView? . backgroundColor = UIColor . theme. homePanel. historyHeaderIconsBackground
343
344
cell. accessibilityIdentifier = " HistoryPanel.clearHistory "
344
345
@@ -357,7 +358,8 @@ class HistoryPanel: SiteTableViewController, HomePanel {
357
358
cell. accessoryType = . disclosureIndicator
358
359
cell. textLabel? . text = Strings . RecentlyClosedTabsButtonTitle
359
360
cell. detailTextLabel? . text = " "
360
- cell. imageView? . image = UIImage ( named: " recently_closed " )
361
+ cell. imageView? . image = UIImage . templateImageNamed ( " recently_closed " )
362
+ cell. imageView? . tintColor = HistoryPanelUX . actionIconColor
361
363
cell. imageView? . backgroundColor = UIColor . theme. homePanel. historyHeaderIconsBackground
362
364
AdditionalHistoryActionRow . setStyle ( enabled: hasRecentlyClosed, forCell: cell)
363
365
cell. accessibilityIdentifier = " HistoryPanel.recentlyClosedCell "
@@ -368,7 +370,10 @@ class HistoryPanel: SiteTableViewController, HomePanel {
368
370
cell. accessoryType = . disclosureIndicator
369
371
cell. textLabel? . text = Strings . SyncedTabsTableViewCellTitle
370
372
cell. detailTextLabel? . text = syncDetailText
371
- cell. imageView? . image = UIImage ( named: " synced_devices " )
373
+ cell. imageView? . image = UIImage . templateImageNamed ( " synced_devices " )
374
+ cell. imageView? . tintColor = HistoryPanelUX . actionIconColor
375
+ cell. imageView? . backgroundColor = UIColor . theme. homePanel. historyHeaderIconsBackground
376
+
372
377
cell. imageView? . backgroundColor = UIColor . theme. homePanel. historyHeaderIconsBackground
373
378
cell. accessibilityIdentifier = " HistoryPanel.syncedDevicesCell "
374
379
return cell
0 commit comments