Manos Chorianopoulos

dfyCoupon Banner test v2

...@@ -112,15 +112,15 @@ import SwiftEventBus ...@@ -112,15 +112,15 @@ import SwiftEventBus
112 112
113 var totalCouponValue = swiftApi().getDealsCouponsSum() 113 var totalCouponValue = swiftApi().getDealsCouponsSum()
114 114
115 - // if (totalCouponValue == 0.0) { 115 + if (totalCouponValue == 0.0) {
116 - // dfyEarnBannerView.isHidden = true 116 + dfyEarnBannerView.isHidden = true
117 - // dfyEarnBannerHeight.constant = 0 117 + dfyEarnBannerHeight.constant = 0
118 - // dfyEarnBannerTopSpace.constant = 0 118 + dfyEarnBannerTopSpace.constant = 0
119 - // } else { 119 + } else {
120 dfyEarnBannerView.isHidden = false 120 dfyEarnBannerView.isHidden = false
121 dfyEarnBannerHeight.constant = 75 121 dfyEarnBannerHeight.constant = 75
122 dfyEarnBannerTopSpace.constant = 30 122 dfyEarnBannerTopSpace.constant = 30
123 - // } 123 + }
124 124
125 totalCouponValue = Float(round(100 * totalCouponValue) / 100) 125 totalCouponValue = Float(round(100 * totalCouponValue) / 100)
126 var totalCouponValueString = "0" 126 var totalCouponValueString = "0"
......