Manos Chorianopoulos

fix UIFonts

...@@ -71,7 +71,7 @@ import SwiftEventBus ...@@ -71,7 +71,7 @@ import SwiftEventBus
71 nameLabel.text = ccms?._titleOffer ?? "" 71 nameLabel.text = ccms?._titleOffer ?? ""
72 descriptionLabel.text = ccms?._description ?? "" 72 descriptionLabel.text = ccms?._description ?? ""
73 73
74 - redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SemiBold", size: 17) 74 + redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17)
75 redeemButton.setTitle("Ενεργοποίηση", for: .normal) 75 redeemButton.setTitle("Ενεργοποίηση", for: .normal)
76 redeemButton.setTitleColor(.white, for: .normal) 76 redeemButton.setTitleColor(.white, for: .normal)
77 redeemButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00) 77 redeemButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00)
......
...@@ -198,7 +198,7 @@ import AVFoundation ...@@ -198,7 +198,7 @@ import AVFoundation
198 198
199 expirationLabel.text = "Το κουπόνι ισχύει έως " + (coupon?.expiration ?? "") 199 expirationLabel.text = "Το κουπόνι ισχύει έως " + (coupon?.expiration ?? "")
200 200
201 - redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SemiBold", size: 17) 201 + redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17)
202 redeemButton.setTitle("Δώρισέ το", for: .normal) 202 redeemButton.setTitle("Δώρισέ το", for: .normal)
203 redeemButton.setTitleColor(.white, for: .normal) 203 redeemButton.setTitleColor(.white, for: .normal)
204 redeemButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00) 204 redeemButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00)
......
...@@ -104,11 +104,11 @@ import SwiftEventBus ...@@ -104,11 +104,11 @@ import SwiftEventBus
104 // Fix width for ipad 104 // Fix width for ipad
105 if UIDevice.current.userInterfaceIdiom == .pad { 105 if UIDevice.current.userInterfaceIdiom == .pad {
106 // iPad 106 // iPad
107 - redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SemiBold", size: 19) 107 + redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 19)
108 // redeemButton.widthAnchor.constraint(equalToConstant: 250).isActive = true 108 // redeemButton.widthAnchor.constraint(equalToConstant: 250).isActive = true
109 } else { 109 } else {
110 // not iPad (iPhone, mac, tv, carPlay, unspecified) 110 // not iPad (iPhone, mac, tv, carPlay, unspecified)
111 - redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SemiBold", size: 17) 111 + redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17)
112 // redeemButton.widthAnchor.constraint(equalTo: view.widthAnchor, multiplier: 0.6).isActive = true 112 // redeemButton.widthAnchor.constraint(equalTo: view.widthAnchor, multiplier: 0.6).isActive = true
113 } 113 }
114 114
......
...@@ -36,7 +36,7 @@ import SwiftEventBus ...@@ -36,7 +36,7 @@ import SwiftEventBus
36 leftButton.backgroundColor = . clear 36 leftButton.backgroundColor = . clear
37 leftButton.setTitleColor(UIColor(rgb: 0x212121), for:.normal) 37 leftButton.setTitleColor(UIColor(rgb: 0x212121), for:.normal)
38 38
39 - rightButton.titleLabel?.font = UIFont(name: "PeridotPE-SemiBold", size: 15) 39 + rightButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 15)
40 rightButton.setTitle("Μοιρασμένα δώρα", for:.normal) 40 rightButton.setTitle("Μοιρασμένα δώρα", for:.normal)
41 rightButton.backgroundColor = . clear 41 rightButton.backgroundColor = . clear
42 rightButton.setTitleColor(UIColor(rgb: 0x848484), for:.normal) 42 rightButton.setTitleColor(UIColor(rgb: 0x848484), for:.normal)
...@@ -142,7 +142,7 @@ import SwiftEventBus ...@@ -142,7 +142,7 @@ import SwiftEventBus
142 self.rightLineView.isHidden = true 142 self.rightLineView.isHidden = true
143 143
144 self.leftButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15) 144 self.leftButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15)
145 - self.rightButton.titleLabel?.font = UIFont(name: "PeridotPE-SemiBold", size: 15) 145 + self.rightButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 15)
146 146
147 self.leftButton.setTitleColor(UIColor(rgb: 0x212121), for:.normal) 147 self.leftButton.setTitleColor(UIColor(rgb: 0x212121), for:.normal)
148 self.rightButton.setTitleColor(UIColor(rgb: 0x848484), for:.normal) 148 self.rightButton.setTitleColor(UIColor(rgb: 0x848484), for:.normal)
...@@ -161,7 +161,7 @@ import SwiftEventBus ...@@ -161,7 +161,7 @@ import SwiftEventBus
161 self.leftLineView.isHidden = true 161 self.leftLineView.isHidden = true
162 self.rightLineView.isHidden = false 162 self.rightLineView.isHidden = false
163 163
164 - self.leftButton.titleLabel?.font = UIFont(name: "PeridotPE-SemiBold", size: 15) 164 + self.leftButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 15)
165 self.rightButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15) 165 self.rightButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15)
166 166
167 self.rightButton.setTitleColor(UIColor(rgb: 0x212121), for:.normal) 167 self.rightButton.setTitleColor(UIColor(rgb: 0x212121), for:.normal)
...@@ -217,7 +217,7 @@ extension LoyaltyAnalysisViewController: UIPageViewControllerDataSource, UIPageV ...@@ -217,7 +217,7 @@ extension LoyaltyAnalysisViewController: UIPageViewControllerDataSource, UIPageV
217 let currentIndex = childVCs[0].index 217 let currentIndex = childVCs[0].index
218 if (currentIndex == 0) { 218 if (currentIndex == 0) {
219 self.leftButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15) 219 self.leftButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15)
220 - self.rightButton.titleLabel?.font = UIFont(name: "PeridotPE-SemiBold", size: 15) 220 + self.rightButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 15)
221 self.leftButton.setTitleColor(UIColor(rgb: 0x212121), for:.normal) 221 self.leftButton.setTitleColor(UIColor(rgb: 0x212121), for:.normal)
222 self.rightButton.setTitleColor(UIColor(rgb: 0x848484), for:.normal) 222 self.rightButton.setTitleColor(UIColor(rgb: 0x848484), for:.normal)
223 self.tabSelected = 0 223 self.tabSelected = 0
...@@ -225,7 +225,7 @@ extension LoyaltyAnalysisViewController: UIPageViewControllerDataSource, UIPageV ...@@ -225,7 +225,7 @@ extension LoyaltyAnalysisViewController: UIPageViewControllerDataSource, UIPageV
225 self.rightLineView.isHidden = true 225 self.rightLineView.isHidden = true
226 226
227 } else { 227 } else {
228 - self.leftButton.titleLabel?.font = UIFont(name: "PeridotPE-SemiBold", size: 15) 228 + self.leftButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 15)
229 self.rightButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15) 229 self.rightButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15)
230 self.rightButton.setTitleColor(UIColor(rgb: 0x212121), for:.normal) 230 self.rightButton.setTitleColor(UIColor(rgb: 0x212121), for:.normal)
231 self.leftButton.setTitleColor(UIColor(rgb: 0x848484), for:.normal) 231 self.leftButton.setTitleColor(UIColor(rgb: 0x848484), for:.normal)
......
...@@ -99,7 +99,7 @@ import SwiftEventBus ...@@ -99,7 +99,7 @@ import SwiftEventBus
99 numberTextField.keyboardType = .asciiCapableNumberPad 99 numberTextField.keyboardType = .asciiCapableNumberPad
100 numberTextField.addDoneButtonOnKeyboard() 100 numberTextField.addDoneButtonOnKeyboard()
101 101
102 - redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SemiBold", size: 17) 102 + redeemButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17)
103 redeemButton.setTitle("Αποστολή με SMS", for: .normal) 103 redeemButton.setTitle("Αποστολή με SMS", for: .normal)
104 redeemButton.setTitleColor(.white, for: .normal) 104 redeemButton.setTitleColor(.white, for: .normal)
105 redeemButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00) 105 redeemButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00)
......
...@@ -91,7 +91,7 @@ import SwiftEventBus ...@@ -91,7 +91,7 @@ import SwiftEventBus
91 91
92 borderLineView.applyGradient(colours: [UIColor(rgb: 0x0AA3CD), UIColor(rgb: 0x6ECA43)], gradient: GradientOrientation.horizontal, cornerRadius: 0.0) 92 borderLineView.applyGradient(colours: [UIColor(rgb: 0x0AA3CD), UIColor(rgb: 0x6ECA43)], gradient: GradientOrientation.horizontal, cornerRadius: 0.0)
93 93
94 - activateButton.titleLabel?.font = UIFont(name: "PeridotPE-SemiBold", size: 17) 94 + activateButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 17)
95 activateButton.setTitle("Ενεργοποίηση", for: .normal) 95 activateButton.setTitle("Ενεργοποίηση", for: .normal)
96 activateButton.setTitleColor(.white, for: .normal) 96 activateButton.setTitleColor(.white, for: .normal)
97 activateButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00) 97 activateButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00)
......