Showing
3 changed files
with
5 additions
and
3 deletions
... | @@ -95,6 +95,7 @@ import AVFoundation | ... | @@ -95,6 +95,7 @@ import AVFoundation |
95 | showBarcodeButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) | 95 | showBarcodeButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) |
96 | showBarcodeButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); | 96 | showBarcodeButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); |
97 | showBarcodeButton.titleEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 5); | 97 | showBarcodeButton.titleEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 5); |
98 | + showBarcodeButton.imageView?.layer.transform = CATransform3DMakeScale(0.8, 0.8, 0.8) | ||
98 | 99 | ||
99 | expirationLabel.text = "Το κουπόνι ισχύει έως " + (coupon?.expiration ?? "") | 100 | expirationLabel.text = "Το κουπόνι ισχύει έως " + (coupon?.expiration ?? "") |
100 | 101 | ||
... | @@ -119,6 +120,7 @@ import AVFoundation | ... | @@ -119,6 +120,7 @@ import AVFoundation |
119 | termsButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) | 120 | termsButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) |
120 | termsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); | 121 | termsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); |
121 | termsButton.titleEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 5); | 122 | termsButton.titleEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 5); |
123 | + termsButton.imageView?.layer.transform = CATransform3DMakeScale(0.8, 0.8, 0.8) | ||
122 | 124 | ||
123 | let htmlText = couponSetData?.terms ?? "" | 125 | let htmlText = couponSetData?.terms ?? "" |
124 | termsTextView.attributedText = htmlText.htmlToAttributedString | 126 | termsTextView.attributedText = htmlText.htmlToAttributedString | ... | ... |
... | @@ -75,6 +75,7 @@ import SwiftEventBus | ... | @@ -75,6 +75,7 @@ import SwiftEventBus |
75 | termsButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) | 75 | termsButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) |
76 | termsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); | 76 | termsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); |
77 | termsButton.titleEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 5); | 77 | termsButton.titleEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 5); |
78 | + termsButton.imageView?.layer.transform = CATransform3DMakeScale(0.8, 0.8, 0.8) | ||
78 | 79 | ||
79 | let htmlText = couponset?.terms ?? "" | 80 | let htmlText = couponset?.terms ?? "" |
80 | termsTextView.attributedText = htmlText.htmlToAttributedString | 81 | termsTextView.attributedText = htmlText.htmlToAttributedString | ... | ... |
... | @@ -82,13 +82,12 @@ import UIKit | ... | @@ -82,13 +82,12 @@ import UIKit |
82 | // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) | 82 | // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) |
83 | moreButton.setTitle("Δες Περισσότερα", for: .normal) | 83 | moreButton.setTitle("Δες Περισσότερα", for: .normal) |
84 | moreButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) | 84 | moreButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) |
85 | - moreButton.setImage(UIImage(named: "ic_down_dark.png"), for: .normal) | 85 | + moreButton.setImage(UIImage(named: "ic_down_dark.png", in: Bundle(for: MyEmptyClass.self), compatibleWith: nil), for: .normal) |
86 | - // TODO: UNCOMMENT | ||
87 | -// moreButton.setImage(UIImage(named: "ic_down_dark.png", in: Bundle(for: MyEmptyClass.self), compatibleWith: nil), for: .normal) | ||
88 | moreButton.semanticContentAttribute = .forceRightToLeft | 86 | moreButton.semanticContentAttribute = .forceRightToLeft |
89 | moreButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) | 87 | moreButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) |
90 | moreButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); | 88 | moreButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); |
91 | moreButton.titleEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 5); | 89 | moreButton.titleEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 5); |
90 | + moreButton.imageView?.layer.transform = CATransform3DMakeScale(0.8, 0.8, 0.8) | ||
92 | 91 | ||
93 | // let htmlText = ccms?._description ?? "" | 92 | // let htmlText = ccms?._description ?? "" |
94 | // moreTextView.attributedText = htmlText.htmlToAttributedString | 93 | // moreTextView.attributedText = htmlText.htmlToAttributedString | ... | ... |
-
Please register or login to post a comment