Manos Chorianopoulos

MarketPass verbal fixes and MarketPassInfo update

......@@ -7,7 +7,7 @@
<key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
<integer>1</integer>
</dict>
</dict>
</dict>
......
......@@ -7,7 +7,7 @@
<key>SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
<integer>0</integer>
</dict>
</dict>
</dict>
......
......@@ -10,6 +10,8 @@ import UIKit
@objc public class MarketPassInfoViewController: UIViewController {
@IBOutlet weak var heroImage: UIImageView!
@IBOutlet weak var heroTitleLabel: UILabel!
@IBOutlet weak var productInfoImage: UIImageView!
@IBOutlet weak var productInfoTitleLabel: UILabel!
@IBOutlet weak var storeInfoImage: UIImageView!
@IBOutlet weak var storeInfoTitleLabel: UILabel!
@IBOutlet weak var storeInfoSubtitleLabel: UILabel!
......@@ -43,6 +45,7 @@ import UIKit
// MARK: - Functions
func setupUI() {
heroImage.image = UIImage(named: "pass_info_hero", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
productInfoImage.image = UIImage(named: "pass_info_product", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
storeInfoImage.image = UIImage(named: "pass_info_cart", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
eshopInfoImage.image = UIImage(named: "pass_info_globe", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
abInfoImage.image = UIImage(named: "pass_info_ab", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
......@@ -52,6 +55,11 @@ import UIKit
heroTitleLabel.textColor = UIColor(rgb: 0x212121)
// StoreInfoView
productInfoTitleLabel.text = "Επιλογή προϊόντων με εκπτωτικό κουπόνι SUPERMARKET DEALS για τις αγορές σου."
productInfoTitleLabel.font = UIFont(name: "PeridotPE-Bold", size: 19.0)
productInfoTitleLabel.textColor = UIColor(rgb: 0x212121)
// StoreInfoView
storeInfoTitleLabel.text = "Εξαργύρωση σε φυσικά καταστήματα"
storeInfoTitleLabel.font = UIFont(name: "PeridotPE-Bold", size: 19.0)
storeInfoTitleLabel.textColor = UIColor(rgb: 0x212121)
......@@ -74,13 +82,13 @@ import UIKit
abInfoTitleLabel.font = UIFont(name: "PeridotPE-Bold", size: 19.0)
abInfoTitleLabel.textColor = UIColor(rgb: 0x212121)
abInfoSubtitleLabel.text = "1. Eνεργοποίησε τον κωδικό στην κάρτα ΑΒ PLUS στο kiosk του καταστήματος ή μέσω eshop / app στην ενοτητα στην ενότητα Συνεργασίες – SUPERMARKET DEALS.\n\n2. Κάνε τις αγορές σου και κέρδισε απευθείας έκπτωση με χρήση της AB PLUS από τα διαθέσιμα κουπόνια."
abInfoSubtitleLabel.text = "1. Eνεργοποίησε τον κωδικό στην κάρτα ΑΒ PLUS στο kiosk του καταστήματος ή μέσω eshop / app στην ενότητα Συνεργασίες – SUPERMARKET DEALS.\n\n2. Κάνε τις αγορές σου και κέρδισε απευθείας έκπτωση με χρήση της AB PLUS από τα διαθέσιμα κουπόνια."
abInfoSubtitleLabel.font = UIFont(name: "PeridotPE-Regular", size: 17.0)
abInfoSubtitleLabel.textColor = UIColor(rgb: 0x212121)
// okButton
okButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15)
okButton.setTitle("Επιστροφή", for: .normal)
okButton.setTitle("Επιστροφή στο Supermarket Deals", for: .normal)
okButton.setTitleColor(.white, for: .normal)
okButton.backgroundColor = UIColor(rgb: 0x0EA600)
okButton.layer.cornerRadius = 10.0
......
......@@ -85,7 +85,7 @@ import SwiftEventBus
passTitleLabel.font = UIFont(name: "BTCosmo-Bold", size: 22)
passTitleLabel.textColor = .white
passSubtitleLabel.text = "Χρησιμοποίησε τον κωδικό σου και κέρδισε έκπτωση στις αγορές σου!"
passSubtitleLabel.text = "Χρησιμοποίησε το μοναδικό κωδικό σου για να κερδίσεις έκπτωση σε επιλεγμένα προϊόντα. Ανακάλυψε τα κουπόνια στο For You."
passSubtitleLabel.font = UIFont(name: "PeridotPE-Regular", size: 17.0)
passSubtitleLabel.textColor = .white
......@@ -114,8 +114,8 @@ import SwiftEventBus
let attrRegular = [NSAttributedString.Key.font : UIFont(name: "PeridotPE-Regular", size: 17) ?? UIFont.systemFont(ofSize: 16), NSAttributedString.Key.foregroundColor: UIColor.white]
let attrBold = [NSAttributedString.Key.font : UIFont(name: "PeridotPE-Bold", size: 17) ?? UIFont.boldSystemFont(ofSize: 16), NSAttributedString.Key.foregroundColor: UIColor.white]
let couponsValueNormalText1 = "Έχεις κουπόνια συνολικής αξίας "
let couponsValueBoldText = couponsValueString + "€"
let couponsValueNormalText1 = "Με τα διαθέσιμα κουπόνια μπορείς να εξοικονομήσεις έως και "
let couponsValueBoldText = couponsValueString + "€."
let couponsValueAttributedString = NSMutableAttributedString(string:couponsValueNormalText1, attributes:attrRegular)
let couponsValueBoldString = NSMutableAttributedString(string: couponsValueBoldText, attributes:attrBold)
......@@ -200,8 +200,8 @@ import SwiftEventBus
let attrRegular = [NSAttributedString.Key.font : UIFont(name: "PeridotPE-Regular", size: 17) ?? UIFont.systemFont(ofSize: 16), NSAttributedString.Key.foregroundColor: UIColor.white]
let attrBold = [NSAttributedString.Key.font : UIFont(name: "PeridotPE-Bold", size: 17) ?? UIFont.boldSystemFont(ofSize: 16), NSAttributedString.Key.foregroundColor: UIColor.white]
let couponsValueNormalText1 = "Έχεις κουπόνια συνολικής αξίας "
let couponsValueBoldText = couponsValueString + "€"
let couponsValueNormalText1 = "Με τα διαθέσιμα κουπόνια μπορείς να εξοικονομήσεις έως και "
let couponsValueBoldText = couponsValueString + "€."
let couponsValueAttributedString = NSMutableAttributedString(string:couponsValueNormalText1, attributes:attrRegular)
let couponsValueBoldString = NSMutableAttributedString(string: couponsValueBoldText, attributes:attrBold)
......
{
"images" : [
{
"filename" : "pass_info_product.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "pass_info_product 1.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "pass_info_product 2.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}