Showing
1 changed file
with
4 additions
and
2 deletions
... | @@ -96,7 +96,8 @@ extension MarketAnalysisItemViewCell { | ... | @@ -96,7 +96,8 @@ extension MarketAnalysisItemViewCell { |
96 | priceString = String(format: "%.2f", priceFloat).replacingOccurrences(of: ".", with: ",", options: .literal, range: nil) | 96 | priceString = String(format: "%.2f", priceFloat).replacingOccurrences(of: ".", with: ",", options: .literal, range: nil) |
97 | priceLabel.text = priceString + "€" | 97 | priceLabel.text = priceString + "€" |
98 | 98 | ||
99 | - subtitleLabel.text = "Έκπτωτικό κουπόνι" // TODO: FIX | 99 | +// subtitleLabel.text = "Έκπτωτικό κουπόνι" |
100 | + subtitleLabel.text = item.redeemed_merchant_details?._name ?? "" | ||
100 | // subtitleLabel.text = couponSetData?.short_description ?? "" | 101 | // subtitleLabel.text = couponSetData?.short_description ?? "" |
101 | // OR | 102 | // OR |
102 | // let htmlText = couponSetData?.inner_text ?? "" | 103 | // let htmlText = couponSetData?.inner_text ?? "" |
... | @@ -141,7 +142,8 @@ extension MarketAnalysisItemViewCell { | ... | @@ -141,7 +142,8 @@ extension MarketAnalysisItemViewCell { |
141 | priceString = String(format: "%.2f", priceFloat).replacingOccurrences(of: ".", with: ",", options: .literal, range: nil) | 142 | priceString = String(format: "%.2f", priceFloat).replacingOccurrences(of: ".", with: ",", options: .literal, range: nil) |
142 | priceLabel.text = priceString + "€" | 143 | priceLabel.text = priceString + "€" |
143 | 144 | ||
144 | - subtitleLabel.text = "Έκπτωτικό κουπόνι" | 145 | +// subtitleLabel.text = "Έκπτωτικό κουπόνι" |
146 | + subtitleLabel.text = item.redeemed_merchant_details?._name ?? "" | ||
145 | // subtitleLabel.text = couponSetData?.short_description ?? "" | 147 | // subtitleLabel.text = couponSetData?.short_description ?? "" |
146 | // OR | 148 | // OR |
147 | // let htmlText = couponSetData?.inner_text ?? "" | 149 | // let htmlText = couponSetData?.inner_text ?? "" | ... | ... |
-
Please register or login to post a comment