Showing
5 changed files
with
14 additions
and
2 deletions
| ... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
| 7 | <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> | 7 | <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> |
| 8 | <dict> | 8 | <dict> |
| 9 | <key>orderHint</key> | 9 | <key>orderHint</key> |
| 10 | - <integer>1</integer> | 10 | + <integer>0</integer> |
| 11 | </dict> | 11 | </dict> |
| 12 | </dict> | 12 | </dict> |
| 13 | </dict> | 13 | </dict> | ... | ... |
| ... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
| 7 | <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> | 7 | <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> |
| 8 | <dict> | 8 | <dict> |
| 9 | <key>orderHint</key> | 9 | <key>orderHint</key> |
| 10 | - <integer>0</integer> | 10 | + <integer>1</integer> |
| 11 | </dict> | 11 | </dict> |
| 12 | </dict> | 12 | </dict> |
| 13 | </dict> | 13 | </dict> | ... | ... |
No preview for this file type
| ... | @@ -35,6 +35,8 @@ import AVFoundation | ... | @@ -35,6 +35,8 @@ import AVFoundation |
| 35 | @IBOutlet weak var showBarcodeButton: UIButton! | 35 | @IBOutlet weak var showBarcodeButton: UIButton! |
| 36 | @IBOutlet weak var expirationLabel: UILabel! | 36 | @IBOutlet weak var expirationLabel: UILabel! |
| 37 | @IBOutlet weak var redeemButton: UIButton! | 37 | @IBOutlet weak var redeemButton: UIButton! |
| 38 | + @IBOutlet weak var redeemButtonHeight: NSLayoutConstraint! | ||
| 39 | + @IBOutlet weak var redeemButtonTopSpace: NSLayoutConstraint! | ||
| 38 | @IBOutlet weak var termsButton: UIButton! | 40 | @IBOutlet weak var termsButton: UIButton! |
| 39 | @IBOutlet weak var termsTextView: UnselectableTappableTextView! | 41 | @IBOutlet weak var termsTextView: UnselectableTappableTextView! |
| 40 | @IBOutlet weak var termsTextViewHeight: NSLayoutConstraint! | 42 | @IBOutlet weak var termsTextViewHeight: NSLayoutConstraint! |
| ... | @@ -180,6 +182,10 @@ import AVFoundation | ... | @@ -180,6 +182,10 @@ import AVFoundation |
| 180 | couponViewHeight.constant = CGFloat(0) | 182 | couponViewHeight.constant = CGFloat(0) |
| 181 | couponViewTopSpace.constant = CGFloat(0) | 183 | couponViewTopSpace.constant = CGFloat(0) |
| 182 | 184 | ||
| 185 | + redeemButton.isHidden = true | ||
| 186 | + redeemButtonHeight.constant = CGFloat(0) | ||
| 187 | +// redeemButtonTopSpace.constant = CGFloat(0) | ||
| 188 | + | ||
| 183 | } else { | 189 | } else { |
| 184 | couponCodeLabel.isHidden = false | 190 | couponCodeLabel.isHidden = false |
| 185 | couponCodeLabelHeight.constant = CGFloat(20) | 191 | couponCodeLabelHeight.constant = CGFloat(20) |
| ... | @@ -188,6 +194,10 @@ import AVFoundation | ... | @@ -188,6 +194,10 @@ import AVFoundation |
| 188 | couponView.isHidden = true | 194 | couponView.isHidden = true |
| 189 | couponViewHeight.constant = CGFloat(55) | 195 | couponViewHeight.constant = CGFloat(55) |
| 190 | couponViewTopSpace.constant = CGFloat(20) | 196 | couponViewTopSpace.constant = CGFloat(20) |
| 197 | + | ||
| 198 | + redeemButton.isHidden = true | ||
| 199 | + redeemButtonHeight.constant = CGFloat(50) | ||
| 200 | +// redeemButtonTopSpace.constant = CGFloat(20) | ||
| 191 | } | 201 | } |
| 192 | 202 | ||
| 193 | let barcodeString = constructBarcode() ?? "" | 203 | let barcodeString = constructBarcode() ?? "" | ... | ... |
| ... | @@ -3907,6 +3907,8 @@ | ... | @@ -3907,6 +3907,8 @@ |
| 3907 | <outlet property="merchantDescrTextViewTopSpace" destination="Cep-Md-KJT" id="39u-Io-Zqp"/> | 3907 | <outlet property="merchantDescrTextViewTopSpace" destination="Cep-Md-KJT" id="39u-Io-Zqp"/> |
| 3908 | <outlet property="nameLabel" destination="Xz4-EE-EzJ" id="zTY-n5-36h"/> | 3908 | <outlet property="nameLabel" destination="Xz4-EE-EzJ" id="zTY-n5-36h"/> |
| 3909 | <outlet property="redeemButton" destination="8cR-Rc-YMJ" id="atB-0m-8ff"/> | 3909 | <outlet property="redeemButton" destination="8cR-Rc-YMJ" id="atB-0m-8ff"/> |
| 3910 | + <outlet property="redeemButtonHeight" destination="ccg-NP-FIH" id="WZ3-vX-rsW"/> | ||
| 3911 | + <outlet property="redeemButtonTopSpace" destination="I87-km-KEb" id="XIe-vN-vdO"/> | ||
| 3910 | <outlet property="scrollContentView" destination="1ec-eH-fkX" id="IZE-ie-TUA"/> | 3912 | <outlet property="scrollContentView" destination="1ec-eH-fkX" id="IZE-ie-TUA"/> |
| 3911 | <outlet property="scrollView" destination="D1m-2B-ehg" id="dwz-JJ-dht"/> | 3913 | <outlet property="scrollView" destination="D1m-2B-ehg" id="dwz-JJ-dht"/> |
| 3912 | <outlet property="showBarcodeButton" destination="Zw5-Wj-WD5" id="WP9-RY-QDg"/> | 3914 | <outlet property="showBarcodeButton" destination="Zw5-Wj-WD5" id="WP9-RY-QDg"/> | ... | ... |
-
Please register or login to post a comment