Showing
1 changed file
with
15 additions
and
15 deletions
... | @@ -135,8 +135,8 @@ import SwiftEventBus | ... | @@ -135,8 +135,8 @@ import SwiftEventBus |
135 | 135 | ||
136 | // ====== | 136 | // ====== |
137 | 137 | ||
138 | - let attrRegular = [NSAttributedString.Key.font : UIFont(name: "PeridotPE-Regular", size: 13) ?? UIFont.systemFont(ofSize: 12), NSAttributedString.Key.foregroundColor: UIColor.white] | 138 | + let attrRegular = [NSAttributedString.Key.font : UIFont(name: "PeridotPE-Regular", size: 14) ?? UIFont.systemFont(ofSize: 13), NSAttributedString.Key.foregroundColor: UIColor.white] |
139 | - let attrBold = [NSAttributedString.Key.font : UIFont(name: "PeridotPE-SBold", size: 13) ?? UIFont.boldSystemFont(ofSize: 12), NSAttributedString.Key.foregroundColor: UIColor.white, NSAttributedString.Key.underlineStyle: NSUnderlineStyle.single.rawValue] as [NSAttributedString.Key : Any] | 139 | + let attrBold = [NSAttributedString.Key.font : UIFont(name: "PeridotPE-SBold", size: 14) ?? UIFont.boldSystemFont(ofSize: 13), NSAttributedString.Key.foregroundColor: UIColor.white, NSAttributedString.Key.underlineStyle: NSUnderlineStyle.single.rawValue] as [NSAttributedString.Key : Any] |
140 | 140 | ||
141 | let couponsValueNormalText1 = "Χρησιμοποίησε τη SUPERMARKET DEALS CARD σου και κέρδισε έκπτωση σε επιλεγμένα προϊόντα. Ανακάλυψε τα προϊόντα με εκπτωτικό κουπόνι στο " | 141 | let couponsValueNormalText1 = "Χρησιμοποίησε τη SUPERMARKET DEALS CARD σου και κέρδισε έκπτωση σε επιλεγμένα προϊόντα. Ανακάλυψε τα προϊόντα με εκπτωτικό κουπόνι στο " |
142 | let couponsValueBoldText = "For You" | 142 | let couponsValueBoldText = "For You" |
... | @@ -245,20 +245,20 @@ import SwiftEventBus | ... | @@ -245,20 +245,20 @@ import SwiftEventBus |
245 | barcodeImageHeight.constant = 0 | 245 | barcodeImageHeight.constant = 0 |
246 | } | 246 | } |
247 | 247 | ||
248 | - let couponsValueFloat = marketPassDetails?._total_available_discount ?? 0.0 | 248 | + // let couponsValueFloat = marketPassDetails?._total_available_discount ?? 0.0 |
249 | - let couponsValueString = String(format: "%.2f", couponsValueFloat) | 249 | + // let couponsValueString = String(format: "%.2f", couponsValueFloat) |
250 | - // let couponsValueString = String(marketPassDetails?._total_available_discount ?? 0.0) | 250 | + // // let couponsValueString = String(marketPassDetails?._total_available_discount ?? 0.0) |
251 | - let attrRegular = [NSAttributedString.Key.font : UIFont(name: "PeridotPE-Regular", size: 17) ?? UIFont.systemFont(ofSize: 16), NSAttributedString.Key.foregroundColor: UIColor.white] | 251 | + // let attrRegular = [NSAttributedString.Key.font : UIFont(name: "PeridotPE-Regular", size: 17) ?? UIFont.systemFont(ofSize: 16), NSAttributedString.Key.foregroundColor: UIColor.white] |
252 | - let attrBold = [NSAttributedString.Key.font : UIFont(name: "PeridotPE-Bold", size: 17) ?? UIFont.boldSystemFont(ofSize: 16), NSAttributedString.Key.foregroundColor: UIColor.white] | 252 | + // let attrBold = [NSAttributedString.Key.font : UIFont(name: "PeridotPE-Bold", size: 17) ?? UIFont.boldSystemFont(ofSize: 16), NSAttributedString.Key.foregroundColor: UIColor.white] |
253 | 253 | ||
254 | - let couponsValueNormalText1 = "Με τα διαθέσιμα κουπόνια μπορείς να εξοικονομήσεις έως και " | 254 | + // let couponsValueNormalText1 = "Με τα διαθέσιμα κουπόνια μπορείς να εξοικονομήσεις έως και " |
255 | - let couponsValueBoldText = couponsValueString + "€." | 255 | + // let couponsValueBoldText = couponsValueString + "€." |
256 | 256 | ||
257 | - let couponsValueAttributedString = NSMutableAttributedString(string:couponsValueNormalText1, attributes:attrRegular) | 257 | + // let couponsValueAttributedString = NSMutableAttributedString(string:couponsValueNormalText1, attributes:attrRegular) |
258 | - let couponsValueBoldString = NSMutableAttributedString(string: couponsValueBoldText, attributes:attrBold) | 258 | + // let couponsValueBoldString = NSMutableAttributedString(string: couponsValueBoldText, attributes:attrBold) |
259 | 259 | ||
260 | - couponsValueAttributedString.append(couponsValueBoldString) | 260 | + // couponsValueAttributedString.append(couponsValueBoldString) |
261 | - couponsValueLabel.attributedText = couponsValueAttributedString | 261 | + // couponsValueLabel.attributedText = couponsValueAttributedString |
262 | 262 | ||
263 | // ====== | 263 | // ====== |
264 | 264 | ||
... | @@ -269,8 +269,8 @@ import SwiftEventBus | ... | @@ -269,8 +269,8 @@ import SwiftEventBus |
269 | 269 | ||
270 | // ====== | 270 | // ====== |
271 | 271 | ||
272 | - let attrRegular = [NSAttributedString.Key.font : UIFont(name: "PeridotPE-Regular", size: 13) ?? UIFont.systemFont(ofSize: 12), NSAttributedString.Key.foregroundColor: UIColor.white] | 272 | + let attrRegular = [NSAttributedString.Key.font : UIFont(name: "PeridotPE-Regular", size: 14) ?? UIFont.systemFont(ofSize: 13), NSAttributedString.Key.foregroundColor: UIColor.white] |
273 | - let attrBold = [NSAttributedString.Key.font : UIFont(name: "PeridotPE-SBold", size: 13) ?? UIFont.boldSystemFont(ofSize: 12), NSAttributedString.Key.foregroundColor: UIColor.white, NSAttributedString.Key.underlineStyle: NSUnderlineStyle.single.rawValue] as [NSAttributedString.Key : Any] | 273 | + let attrBold = [NSAttributedString.Key.font : UIFont(name: "PeridotPE-SBold", size: 14) ?? UIFont.boldSystemFont(ofSize: 13), NSAttributedString.Key.foregroundColor: UIColor.white, NSAttributedString.Key.underlineStyle: NSUnderlineStyle.single.rawValue] as [NSAttributedString.Key : Any] |
274 | 274 | ||
275 | let couponsValueNormalText1 = "Χρησιμοποίησε τη SUPERMARKET DEALS CARD σου και κέρδισε έκπτωση σε επιλεγμένα προϊόντα. Ανακάλυψε τα προϊόντα με εκπτωτικό κουπόνι στο " | 275 | let couponsValueNormalText1 = "Χρησιμοποίησε τη SUPERMARKET DEALS CARD σου και κέρδισε έκπτωση σε επιλεγμένα προϊόντα. Ανακάλυψε τα προϊόντα με εκπτωτικό κουπόνι στο " |
276 | let couponsValueBoldText = "For You" | 276 | let couponsValueBoldText = "For You" | ... | ... |
-
Please register or login to post a comment