Skip to content

Commit 3c3efa4

Browse files
committed
Add icons to In Person Payments Settings
1 parent 6e2d014 commit 3c3efa4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

WooCommerce/Classes/ViewRelated/Dashboard/Settings/In-Person Payments/InPersonPaymentsMenuViewController.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,18 +62,24 @@ private extension InPersonPaymentsMenuViewController {
6262
}
6363

6464
func configureOrderCardReader(cell: UITableViewCell) {
65+
cell.imageView?.image = .shoppingCartIcon
66+
cell.imageView?.tintColor = .text
6567
cell.accessoryType = .disclosureIndicator
6668
cell.selectionStyle = .default
6769
cell.textLabel?.text = NSLocalizedString("Order card reader", comment: "Navigates to Card Reader ordering screen")
6870
}
6971

7072
func configureManageCardReader(cell: UITableViewCell) {
73+
cell.imageView?.image = .creditCardIcon
74+
cell.imageView?.tintColor = .text
7175
cell.accessoryType = .disclosureIndicator
7276
cell.selectionStyle = .default
7377
cell.textLabel?.text = NSLocalizedString("Manage card reader", comment: "Navigates to Card Reader management screen")
7478
}
7579

7680
func configureBBPOSChipper2XBTManual(cell: UITableViewCell) {
81+
cell.imageView?.image = .cardReaderManualIcon
82+
cell.imageView?.tintColor = .text
7783
cell.accessoryType = .disclosureIndicator
7884
cell.selectionStyle = .default
7985
cell.textLabel?.text = NSLocalizedString("Card reader manual", comment: "Navigates to Card Reader manual")

0 commit comments

Comments
 (0)