Manos Chorianopoulos

show discountView at unified single coupon

...@@ -186,7 +186,11 @@ import AVFoundation ...@@ -186,7 +186,11 @@ import AVFoundation
186 barcodeTitleLabelHeight.constant = barcodeTitleLabel.intrinsicContentSize.height 186 barcodeTitleLabelHeight.constant = barcodeTitleLabel.intrinsicContentSize.height
187 barcodeTitleLabelTopSpace.constant = CGFloat(20) 187 barcodeTitleLabelTopSpace.constant = CGFloat(20)
188 } else { 188 } else {
189 - discountView.isHidden = true 189 + if (isMarket == true) {
190 + discountView.isHidden = false
191 + } else {
192 + discountView.isHidden = true
193 + }
190 topExpirationView.isHidden = true 194 topExpirationView.isHidden = true
191 topExpirationViewHeight.constant = CGFloat(0) 195 topExpirationViewHeight.constant = CGFloat(0)
192 topExpirationViewTopSpace.constant = CGFloat(0) 196 topExpirationViewTopSpace.constant = CGFloat(0)
......