diff --git a/Trust/Tokens/Views/TicketTableViewCell.swift b/Trust/Tokens/Views/TicketTableViewCell.swift index baf7ac22e..17e700bf5 100644 --- a/Trust/Tokens/Views/TicketTableViewCell.swift +++ b/Trust/Tokens/Views/TicketTableViewCell.swift @@ -17,4 +17,12 @@ class TicketTableViewCell: UITableViewCell { @IBOutlet weak var seatLabel: UILabel! @IBOutlet weak var zoneLabel: UILabel! + func configure(ticketHolder: TicketHolder) { + ticketNumberLabel.text = ticketHolder.ticketCount + nameLabel.text = ticketHolder.name + venueLabel.text = ticketHolder.venue + dateLabel.text = ticketHolder.date.format("dd MMM yyyy") + zoneLabel.text = ticketHolder.zone + seatLabel.text = ticketHolder.seatRange + } }