Showing
1 changed file
with
6 additions
and
6 deletions
... | @@ -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" | ... | ... |
-
Please register or login to post a comment