Skip to content

Commit

Permalink
Allow the carrierLogo to be set at a later stage (#1641)
Browse files Browse the repository at this point in the history
Co-authored-by: michal-sekulski <michal.sekulski@skyscanner.net>
  • Loading branch information
michmaml and michal-sekulski committed Apr 14, 2023
1 parent 54349a6 commit ab8100a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Backpack/FlightLeg/Classes/BPKFlightLeg.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,11 @@ public final class BPKFlightLeg: UIView {
private let duration: String
private let operatedBy: String?
private let warning: String?
private let carrierLogo: UIImage?
public var carrierLogo: UIImage? {
didSet {
carrierLogoIcon.image = carrierLogo
}
}

private let departureArrivalTimeLabel: BPKLabel = {
let departureArrtvalTimeLabel = BPKLabel()
Expand Down

0 comments on commit ab8100a

Please sign in to comment.