Manos Chorianopoulos

fix button title font size

...@@ -71,7 +71,7 @@ import SwiftEventBus ...@@ -71,7 +71,7 @@ import SwiftEventBus
71 nameLabel.text = ccms?._title ?? "" 71 nameLabel.text = ccms?._title ?? ""
72 descriptionLabel.text = ccms?._subtitle ?? "" 72 descriptionLabel.text = ccms?._subtitle ?? ""
73 73
74 - redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) 74 + redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 18)
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.47, green: 0.75, blue: 0.08, alpha: 1.00) 77 redeemButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00)
......
...@@ -119,7 +119,7 @@ import AVFoundation ...@@ -119,7 +119,7 @@ import AVFoundation
119 119
120 expirationLabel.text = "Το κουπόνι ισχύει έως " + (coupon?.expiration ?? "") 120 expirationLabel.text = "Το κουπόνι ισχύει έως " + (coupon?.expiration ?? "")
121 121
122 - redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) 122 + redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 18)
123 redeemButton.setTitle("Κάνε δώρο", for: .normal) 123 redeemButton.setTitle("Κάνε δώρο", for: .normal)
124 redeemButton.setTitleColor(.white, for: .normal) 124 redeemButton.setTitleColor(.white, for: .normal)
125 redeemButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00) 125 redeemButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00)
...@@ -135,7 +135,7 @@ import AVFoundation ...@@ -135,7 +135,7 @@ import AVFoundation
135 // redeemButton.widthAnchor.constraint(equalTo: view.widthAnchor, multiplier: 0.6).isActive = true 135 // redeemButton.widthAnchor.constraint(equalTo: view.widthAnchor, multiplier: 0.6).isActive = true
136 // } 136 // }
137 137
138 - mapButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) 138 + mapButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 18)
139 mapButton.setTitle("Δες τα καταστήματα", for: .normal) 139 mapButton.setTitle("Δες τα καταστήματα", for: .normal)
140 mapButton.setTitleColor(UIColor(red: 0.31, green: 0.62, blue: 0.18, alpha: 1.00), for: .normal) 140 mapButton.setTitleColor(UIColor(red: 0.31, green: 0.62, blue: 0.18, alpha: 1.00), for: .normal)
141 mapButton.backgroundColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00) 141 mapButton.backgroundColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00)
......
...@@ -87,11 +87,11 @@ import SwiftEventBus ...@@ -87,11 +87,11 @@ import SwiftEventBus
87 // Fix width for ipad 87 // Fix width for ipad
88 if UIDevice.current.userInterfaceIdiom == .pad { 88 if UIDevice.current.userInterfaceIdiom == .pad {
89 // iPad 89 // iPad
90 - redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 19) 90 + redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 20)
91 // redeemButton.widthAnchor.constraint(equalToConstant: 250).isActive = true 91 // redeemButton.widthAnchor.constraint(equalToConstant: 250).isActive = true
92 } else { 92 } else {
93 // not iPad (iPhone, mac, tv, carPlay, unspecified) 93 // not iPad (iPhone, mac, tv, carPlay, unspecified)
94 - redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) 94 + redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 18)
95 // redeemButton.widthAnchor.constraint(equalTo: view.widthAnchor, multiplier: 0.6).isActive = true 95 // redeemButton.widthAnchor.constraint(equalTo: view.widthAnchor, multiplier: 0.6).isActive = true
96 } 96 }
97 97
......
...@@ -98,7 +98,7 @@ import SwiftEventBus ...@@ -98,7 +98,7 @@ import SwiftEventBus
98 numberTextField.keyboardType = .asciiCapableNumberPad 98 numberTextField.keyboardType = .asciiCapableNumberPad
99 numberTextField.addDoneButtonOnKeyboard() 99 numberTextField.addDoneButtonOnKeyboard()
100 100
101 - redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) 101 + redeemButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 18)
102 redeemButton.setTitle("Αποστολή με SMS", for: .normal) 102 redeemButton.setTitle("Αποστολή με SMS", for: .normal)
103 redeemButton.setTitleColor(.white, for: .normal) 103 redeemButton.setTitleColor(.white, for: .normal)
104 redeemButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00) 104 redeemButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, 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: "PFSquareSansPro-Medium", size: 16) 94 + activateButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 18)
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.47, green: 0.75, blue: 0.08, alpha: 1.00) 97 activateButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00)
......