Showing
13 changed files
with
36 additions
and
36 deletions
No preview for this file type
... | @@ -185,7 +185,7 @@ import AVFoundation | ... | @@ -185,7 +185,7 @@ import AVFoundation |
185 | showBarcodeButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) | 185 | showBarcodeButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) |
186 | showBarcodeButton.setTitle("Εμφάνιση barcode", for: .normal) | 186 | showBarcodeButton.setTitle("Εμφάνιση barcode", for: .normal) |
187 | showBarcodeButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) | 187 | showBarcodeButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) |
188 | - showBarcodeButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 188 | + showBarcodeButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
189 | showBarcodeButton.semanticContentAttribute = .forceRightToLeft | 189 | showBarcodeButton.semanticContentAttribute = .forceRightToLeft |
190 | showBarcodeButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) | 190 | showBarcodeButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) |
191 | showBarcodeButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); | 191 | showBarcodeButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); |
... | @@ -269,7 +269,7 @@ import AVFoundation | ... | @@ -269,7 +269,7 @@ import AVFoundation |
269 | // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) | 269 | // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) |
270 | termsButton.setTitle("Όροι χρήσης", for: .normal) | 270 | termsButton.setTitle("Όροι χρήσης", for: .normal) |
271 | termsButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) | 271 | termsButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) |
272 | - termsButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 272 | + termsButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
273 | termsButton.semanticContentAttribute = .forceRightToLeft | 273 | termsButton.semanticContentAttribute = .forceRightToLeft |
274 | termsButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) | 274 | termsButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) |
275 | termsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); | 275 | termsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); |
... | @@ -322,12 +322,12 @@ import AVFoundation | ... | @@ -322,12 +322,12 @@ import AVFoundation |
322 | let targetSize = CGSize(width: termsTextView.frame.width, height: CGFloat(MAXFLOAT)) | 322 | let targetSize = CGSize(width: termsTextView.frame.width, height: CGFloat(MAXFLOAT)) |
323 | termsTextViewHeight.constant = termsTextView.sizeThatFits(targetSize).height | 323 | termsTextViewHeight.constant = termsTextView.sizeThatFits(targetSize).height |
324 | 324 | ||
325 | - termsButton.setImage(UIImage(named: "ic_up_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 325 | + termsButton.setImage(UIImage(named: "ic_up_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
326 | } else { | 326 | } else { |
327 | termsTextView.isHidden = true | 327 | termsTextView.isHidden = true |
328 | termsTextViewHeight.constant = CGFloat(0) | 328 | termsTextViewHeight.constant = CGFloat(0) |
329 | 329 | ||
330 | - termsButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 330 | + termsButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
331 | } | 331 | } |
332 | } | 332 | } |
333 | 333 | ||
... | @@ -352,7 +352,7 @@ import AVFoundation | ... | @@ -352,7 +352,7 @@ import AVFoundation |
352 | border2TopSpace.constant = CGFloat(15) // 15 | 352 | border2TopSpace.constant = CGFloat(15) // 15 |
353 | 353 | ||
354 | showBarcodeButton.setTitle("Απόκρυψη barcode", for: .normal) | 354 | showBarcodeButton.setTitle("Απόκρυψη barcode", for: .normal) |
355 | - showBarcodeButton.setImage(UIImage(named: "ic_up_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 355 | + showBarcodeButton.setImage(UIImage(named: "ic_up_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
356 | 356 | ||
357 | } else { | 357 | } else { |
358 | barcodeImage.isHidden = true | 358 | barcodeImage.isHidden = true |
... | @@ -369,7 +369,7 @@ import AVFoundation | ... | @@ -369,7 +369,7 @@ import AVFoundation |
369 | border2TopSpace.constant = CGFloat(0) // 15 | 369 | border2TopSpace.constant = CGFloat(0) // 15 |
370 | 370 | ||
371 | showBarcodeButton.setTitle("Εμφάνιση barcode", for: .normal) | 371 | showBarcodeButton.setTitle("Εμφάνιση barcode", for: .normal) |
372 | - showBarcodeButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 372 | + showBarcodeButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
373 | } | 373 | } |
374 | } | 374 | } |
375 | 375 | ... | ... |
... | @@ -116,7 +116,7 @@ import SwiftEventBus | ... | @@ -116,7 +116,7 @@ import SwiftEventBus |
116 | // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) | 116 | // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) |
117 | termsButton.setTitle("Όροι χρήσης", for: .normal) | 117 | termsButton.setTitle("Όροι χρήσης", for: .normal) |
118 | termsButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) | 118 | termsButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) |
119 | - termsButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 119 | + termsButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
120 | termsButton.semanticContentAttribute = .forceRightToLeft | 120 | termsButton.semanticContentAttribute = .forceRightToLeft |
121 | termsButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) | 121 | termsButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) |
122 | termsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); | 122 | termsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); |
... | @@ -179,12 +179,12 @@ import SwiftEventBus | ... | @@ -179,12 +179,12 @@ import SwiftEventBus |
179 | let targetSize = CGSize(width: termsTextView.frame.width, height: CGFloat(MAXFLOAT)) | 179 | let targetSize = CGSize(width: termsTextView.frame.width, height: CGFloat(MAXFLOAT)) |
180 | termsTextViewHeight.constant = termsTextView.sizeThatFits(targetSize).height | 180 | termsTextViewHeight.constant = termsTextView.sizeThatFits(targetSize).height |
181 | 181 | ||
182 | - termsButton.setImage(UIImage(named: "ic_up_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 182 | + termsButton.setImage(UIImage(named: "ic_up_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
183 | } else { | 183 | } else { |
184 | termsTextView.isHidden = true | 184 | termsTextView.isHidden = true |
185 | termsTextViewHeight.constant = CGFloat(0) | 185 | termsTextViewHeight.constant = CGFloat(0) |
186 | 186 | ||
187 | - termsButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 187 | + termsButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
188 | } | 188 | } |
189 | } | 189 | } |
190 | 190 | ... | ... |
... | @@ -41,7 +41,7 @@ import UIKit | ... | @@ -41,7 +41,7 @@ import UIKit |
41 | inboxView.layer.shadowRadius = 15.0 | 41 | inboxView.layer.shadowRadius = 15.0 |
42 | inboxView.clipsToBounds = true | 42 | inboxView.clipsToBounds = true |
43 | 43 | ||
44 | - newBadgeImage.image = UIImage(named: "new_icon", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 44 | + newBadgeImage.image = UIImage(named: "new_icon_2", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
45 | 45 | ||
46 | newBadgeImage.isHidden = true | 46 | newBadgeImage.isHidden = true |
47 | } | 47 | } | ... | ... |
... | @@ -40,7 +40,7 @@ import UIKit | ... | @@ -40,7 +40,7 @@ import UIKit |
40 | inboxView.layer.cornerRadius = 5.0 | 40 | inboxView.layer.cornerRadius = 5.0 |
41 | inboxView.clipsToBounds = true | 41 | inboxView.clipsToBounds = true |
42 | 42 | ||
43 | - newBadgeImage.image = UIImage(named: "new_icon", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 43 | + newBadgeImage.image = UIImage(named: "new_icon_2", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
44 | curvedBgImage.image = UIImage(named: "curved_bg_white", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 44 | curvedBgImage.image = UIImage(named: "curved_bg_white", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
45 | 45 | ||
46 | newBadgeImage.isHidden = true | 46 | newBadgeImage.isHidden = true | ... | ... |
This diff is collapsed. Click to expand it.
... | @@ -76,7 +76,7 @@ protocol NumbersPopupDelegate { | ... | @@ -76,7 +76,7 @@ protocol NumbersPopupDelegate { |
76 | 76 | ||
77 | self.preferredContentSize = CGSize(width: widthPopup, height: heightPopup) | 77 | self.preferredContentSize = CGSize(width: widthPopup, height: heightPopup) |
78 | 78 | ||
79 | - closeButton.setImage(UIImage(named: "ic_close_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 79 | + closeButton.setImage(UIImage(named: "ic_close_3.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
80 | closeButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) | 80 | closeButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) |
81 | 81 | ||
82 | // self.tableView.reloadData() | 82 | // self.tableView.reloadData() | ... | ... |
... | @@ -88,7 +88,7 @@ import SwiftEventBus | ... | @@ -88,7 +88,7 @@ import SwiftEventBus |
88 | descriptionLabel.text = "Επίλεξε το κινητό από το οποίο θα γίνει η αποστολή και συμπλήρωσε το COSMOTE κινητό που θα λάβει το δώρο." | 88 | descriptionLabel.text = "Επίλεξε το κινητό από το οποίο θα γίνει η αποστολή και συμπλήρωσε το COSMOTE κινητό που θα λάβει το δώρο." |
89 | 89 | ||
90 | senderLabel.text = "Αποστολέας" | 90 | senderLabel.text = "Αποστολέας" |
91 | - senderArrowImage.image = UIImage(named: "ic_down_dark", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 91 | + senderArrowImage.image = UIImage(named: "ic_down_dark_2", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
92 | 92 | ||
93 | senderButton.addTarget(self, action: #selector(self.numbersPopupTapped(_:)), for: .touchUpInside) | 93 | senderButton.addTarget(self, action: #selector(self.numbersPopupTapped(_:)), for: .touchUpInside) |
94 | 94 | ... | ... |
... | @@ -49,7 +49,7 @@ import SwiftEventBus | ... | @@ -49,7 +49,7 @@ import SwiftEventBus |
49 | 49 | ||
50 | numbersList = ccms?._eligibleAssets ?? [] | 50 | numbersList = ccms?._eligibleAssets ?? [] |
51 | 51 | ||
52 | - setBackButton("ic_close_2") | 52 | + setBackButton("ic_close_3") |
53 | setNavigationTitle(ccms?._titleOffer ?? "") | 53 | setNavigationTitle(ccms?._titleOffer ?? "") |
54 | 54 | ||
55 | backgroundImage.image = UIImage(named: "coupons_scrollview_white", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 55 | backgroundImage.image = UIImage(named: "coupons_scrollview_white", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
... | @@ -112,7 +112,7 @@ import SwiftEventBus | ... | @@ -112,7 +112,7 @@ import SwiftEventBus |
112 | // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) | 112 | // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) |
113 | moreButton.setTitle("Δες Περισσότερα", for: .normal) | 113 | moreButton.setTitle("Δες Περισσότερα", for: .normal) |
114 | moreButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) | 114 | moreButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) |
115 | - moreButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 115 | + moreButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
116 | moreButton.semanticContentAttribute = .forceRightToLeft | 116 | moreButton.semanticContentAttribute = .forceRightToLeft |
117 | moreButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) | 117 | moreButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) |
118 | moreButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); | 118 | moreButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); |
... | @@ -144,12 +144,12 @@ import SwiftEventBus | ... | @@ -144,12 +144,12 @@ import SwiftEventBus |
144 | let targetSize = CGSize(width: moreTextView.frame.width, height: CGFloat(MAXFLOAT)) | 144 | let targetSize = CGSize(width: moreTextView.frame.width, height: CGFloat(MAXFLOAT)) |
145 | moreTextViewHeight.constant = moreTextView.sizeThatFits(targetSize).height | 145 | moreTextViewHeight.constant = moreTextView.sizeThatFits(targetSize).height |
146 | 146 | ||
147 | - moreButton.setImage(UIImage(named: "ic_up_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 147 | + moreButton.setImage(UIImage(named: "ic_up_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
148 | } else { | 148 | } else { |
149 | moreTextView.isHidden = true | 149 | moreTextView.isHidden = true |
150 | moreTextViewHeight.constant = CGFloat(0) | 150 | moreTextViewHeight.constant = CGFloat(0) |
151 | 151 | ||
152 | - moreButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 152 | + moreButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
153 | } | 153 | } |
154 | } | 154 | } |
155 | 155 | ... | ... |
... | @@ -83,7 +83,7 @@ import AVFoundation | ... | @@ -83,7 +83,7 @@ import AVFoundation |
83 | // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) | 83 | // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) |
84 | termsButton.setTitle("Όροι χρήσης", for: .normal) | 84 | termsButton.setTitle("Όροι χρήσης", for: .normal) |
85 | termsButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) | 85 | termsButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) |
86 | - termsButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 86 | + termsButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
87 | termsButton.semanticContentAttribute = .forceRightToLeft | 87 | termsButton.semanticContentAttribute = .forceRightToLeft |
88 | termsButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) | 88 | termsButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) |
89 | termsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); | 89 | termsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); |
... | @@ -127,12 +127,12 @@ import AVFoundation | ... | @@ -127,12 +127,12 @@ import AVFoundation |
127 | let targetSize = CGSize(width: termsTextView.frame.width, height: CGFloat(MAXFLOAT)) | 127 | let targetSize = CGSize(width: termsTextView.frame.width, height: CGFloat(MAXFLOAT)) |
128 | termsTextViewHeight.constant = termsTextView.sizeThatFits(targetSize).height | 128 | termsTextViewHeight.constant = termsTextView.sizeThatFits(targetSize).height |
129 | 129 | ||
130 | - termsButton.setImage(UIImage(named: "ic_up_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 130 | + termsButton.setImage(UIImage(named: "ic_up_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
131 | } else { | 131 | } else { |
132 | termsTextView.isHidden = true | 132 | termsTextView.isHidden = true |
133 | termsTextViewHeight.constant = CGFloat(0) | 133 | termsTextViewHeight.constant = CGFloat(0) |
134 | 134 | ||
135 | - termsButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 135 | + termsButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
136 | } | 136 | } |
137 | } | 137 | } |
138 | 138 | ... | ... |
... | @@ -93,7 +93,7 @@ import AVFoundation | ... | @@ -93,7 +93,7 @@ import AVFoundation |
93 | showBarcodeButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) | 93 | showBarcodeButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) |
94 | showBarcodeButton.setTitle("Εμφάνιση barcode", for: .normal) | 94 | showBarcodeButton.setTitle("Εμφάνιση barcode", for: .normal) |
95 | showBarcodeButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) | 95 | showBarcodeButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) |
96 | - showBarcodeButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 96 | + showBarcodeButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
97 | showBarcodeButton.semanticContentAttribute = .forceRightToLeft | 97 | showBarcodeButton.semanticContentAttribute = .forceRightToLeft |
98 | showBarcodeButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) | 98 | showBarcodeButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) |
99 | showBarcodeButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); | 99 | showBarcodeButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); |
... | @@ -104,7 +104,7 @@ import AVFoundation | ... | @@ -104,7 +104,7 @@ import AVFoundation |
104 | // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) | 104 | // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) |
105 | showCouponsButton.setTitle("Εμφάνιση κουπονιών", for: .normal) | 105 | showCouponsButton.setTitle("Εμφάνιση κουπονιών", for: .normal) |
106 | showCouponsButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) | 106 | showCouponsButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) |
107 | - showCouponsButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 107 | + showCouponsButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
108 | showCouponsButton.semanticContentAttribute = .forceRightToLeft | 108 | showCouponsButton.semanticContentAttribute = .forceRightToLeft |
109 | showCouponsButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) | 109 | showCouponsButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) |
110 | showCouponsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); | 110 | showCouponsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); |
... | @@ -240,7 +240,7 @@ import AVFoundation | ... | @@ -240,7 +240,7 @@ import AVFoundation |
240 | border2TopSpace.constant = CGFloat(15) // 15 | 240 | border2TopSpace.constant = CGFloat(15) // 15 |
241 | 241 | ||
242 | showBarcodeButton.setTitle("Απόκρυψη barcode", for: .normal) | 242 | showBarcodeButton.setTitle("Απόκρυψη barcode", for: .normal) |
243 | - showBarcodeButton.setImage(UIImage(named: "ic_up_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 243 | + showBarcodeButton.setImage(UIImage(named: "ic_up_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
244 | 244 | ||
245 | } else { | 245 | } else { |
246 | barcodeImage.isHidden = true | 246 | barcodeImage.isHidden = true |
... | @@ -257,15 +257,15 @@ import AVFoundation | ... | @@ -257,15 +257,15 @@ import AVFoundation |
257 | border2TopSpace.constant = CGFloat(0) // 15 | 257 | border2TopSpace.constant = CGFloat(0) // 15 |
258 | 258 | ||
259 | showBarcodeButton.setTitle("Εμφάνιση barcode", for: .normal) | 259 | showBarcodeButton.setTitle("Εμφάνιση barcode", for: .normal) |
260 | - showBarcodeButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 260 | + showBarcodeButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
261 | } | 261 | } |
262 | } | 262 | } |
263 | 263 | ||
264 | func toggleCoupons(couponsVisible: Bool) { | 264 | func toggleCoupons(couponsVisible: Bool) { |
265 | if (couponsVisible) { | 265 | if (couponsVisible) { |
266 | - showCouponsButton.setImage(UIImage(named: "ic_up_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 266 | + showCouponsButton.setImage(UIImage(named: "ic_up_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
267 | } else { | 267 | } else { |
268 | - showCouponsButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 268 | + showCouponsButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
269 | } | 269 | } |
270 | } | 270 | } |
271 | 271 | ... | ... |
... | @@ -217,7 +217,7 @@ extension UITableView { | ... | @@ -217,7 +217,7 @@ extension UITableView { |
217 | showBarcodeButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) | 217 | showBarcodeButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) |
218 | showBarcodeButton.setTitle("Εμφάνιση barcode", for: .normal) | 218 | showBarcodeButton.setTitle("Εμφάνιση barcode", for: .normal) |
219 | showBarcodeButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) | 219 | showBarcodeButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) |
220 | - showBarcodeButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 220 | + showBarcodeButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
221 | showBarcodeButton.semanticContentAttribute = .forceRightToLeft | 221 | showBarcodeButton.semanticContentAttribute = .forceRightToLeft |
222 | showBarcodeButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) | 222 | showBarcodeButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) |
223 | showBarcodeButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); | 223 | showBarcodeButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); |
... | @@ -289,7 +289,7 @@ extension UITableView { | ... | @@ -289,7 +289,7 @@ extension UITableView { |
289 | // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) | 289 | // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) |
290 | showCouponsButton.setTitle("Εμφάνιση κουπονιών", for: .normal) | 290 | showCouponsButton.setTitle("Εμφάνιση κουπονιών", for: .normal) |
291 | showCouponsButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) | 291 | showCouponsButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) |
292 | - showCouponsButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 292 | + showCouponsButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
293 | showCouponsButton.semanticContentAttribute = .forceRightToLeft | 293 | showCouponsButton.semanticContentAttribute = .forceRightToLeft |
294 | showCouponsButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) | 294 | showCouponsButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) |
295 | showCouponsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); | 295 | showCouponsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); |
... | @@ -309,7 +309,7 @@ extension UITableView { | ... | @@ -309,7 +309,7 @@ extension UITableView { |
309 | // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) | 309 | // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) |
310 | termsButton.setTitle("Όροι χρήσης", for: .normal) | 310 | termsButton.setTitle("Όροι χρήσης", for: .normal) |
311 | termsButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) | 311 | termsButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) |
312 | - termsButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 312 | + termsButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
313 | termsButton.semanticContentAttribute = .forceRightToLeft | 313 | termsButton.semanticContentAttribute = .forceRightToLeft |
314 | termsButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) | 314 | termsButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) |
315 | termsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); | 315 | termsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); |
... | @@ -362,12 +362,12 @@ extension UITableView { | ... | @@ -362,12 +362,12 @@ extension UITableView { |
362 | let targetSize = CGSize(width: termsTextView.frame.width, height: CGFloat(MAXFLOAT)) | 362 | let targetSize = CGSize(width: termsTextView.frame.width, height: CGFloat(MAXFLOAT)) |
363 | termsTextViewHeight.constant = termsTextView.sizeThatFits(targetSize).height | 363 | termsTextViewHeight.constant = termsTextView.sizeThatFits(targetSize).height |
364 | 364 | ||
365 | - termsButton.setImage(UIImage(named: "ic_up_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 365 | + termsButton.setImage(UIImage(named: "ic_up_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
366 | } else { | 366 | } else { |
367 | termsTextView.isHidden = true | 367 | termsTextView.isHidden = true |
368 | termsTextViewHeight.constant = CGFloat(0) | 368 | termsTextViewHeight.constant = CGFloat(0) |
369 | 369 | ||
370 | - termsButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 370 | + termsButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
371 | } | 371 | } |
372 | } | 372 | } |
373 | 373 | ||
... | @@ -392,7 +392,7 @@ extension UITableView { | ... | @@ -392,7 +392,7 @@ extension UITableView { |
392 | border2TopSpace.constant = CGFloat(15) // 15 | 392 | border2TopSpace.constant = CGFloat(15) // 15 |
393 | 393 | ||
394 | showBarcodeButton.setTitle("Απόκρυψη barcode", for: .normal) | 394 | showBarcodeButton.setTitle("Απόκρυψη barcode", for: .normal) |
395 | - showBarcodeButton.setImage(UIImage(named: "ic_up_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 395 | + showBarcodeButton.setImage(UIImage(named: "ic_up_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
396 | 396 | ||
397 | } else { | 397 | } else { |
398 | barcodeImage.isHidden = true | 398 | barcodeImage.isHidden = true |
... | @@ -409,7 +409,7 @@ extension UITableView { | ... | @@ -409,7 +409,7 @@ extension UITableView { |
409 | border2TopSpace.constant = CGFloat(0) // 15 | 409 | border2TopSpace.constant = CGFloat(0) // 15 |
410 | 410 | ||
411 | showBarcodeButton.setTitle("Εμφάνιση barcode", for: .normal) | 411 | showBarcodeButton.setTitle("Εμφάνιση barcode", for: .normal) |
412 | - showBarcodeButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 412 | + showBarcodeButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
413 | } | 413 | } |
414 | } | 414 | } |
415 | 415 | ||
... | @@ -421,12 +421,12 @@ extension UITableView { | ... | @@ -421,12 +421,12 @@ extension UITableView { |
421 | 421 | ||
422 | // tableViewHeight.constant = tableView.intrinsicContentSize.height | 422 | // tableViewHeight.constant = tableView.intrinsicContentSize.height |
423 | 423 | ||
424 | - showCouponsButton.setImage(UIImage(named: "ic_up_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 424 | + showCouponsButton.setImage(UIImage(named: "ic_up_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
425 | } else { | 425 | } else { |
426 | tableView.isHidden = true | 426 | tableView.isHidden = true |
427 | tableViewHeight.constant = CGFloat(0) | 427 | tableViewHeight.constant = CGFloat(0) |
428 | 428 | ||
429 | - showCouponsButton.setImage(UIImage(named: "ic_down_dark.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) | 429 | + showCouponsButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) |
430 | } | 430 | } |
431 | // scrollView.contentSize = CGSizeMake(scrollView.frame.size.width, scrollView.intrinsicContentSize.height); | 431 | // scrollView.contentSize = CGSizeMake(scrollView.frame.size.width, scrollView.intrinsicContentSize.height); |
432 | // self.view.layoutIfNeeded() | 432 | // self.view.layoutIfNeeded() | ... | ... |
... | @@ -8,7 +8,7 @@ | ... | @@ -8,7 +8,7 @@ |
8 | import UIKit | 8 | import UIKit |
9 | 9 | ||
10 | extension UIViewController { | 10 | extension UIViewController { |
11 | - func setBackButton(_ icon:String = "ic_back_2") { | 11 | + func setBackButton(_ icon:String = "ic_back_3") { |
12 | // let uiscreen: CGRect = UIScreen.main.bounds | 12 | // let uiscreen: CGRect = UIScreen.main.bounds |
13 | 13 | ||
14 | // let backButton = UIButton(type: UIButton.ButtonType.custom) as UIButton | 14 | // let backButton = UIButton(type: UIButton.ButtonType.custom) as UIButton | ... | ... |
-
Please register or login to post a comment