Manos Chorianopoulos

test dfyCoupon banner

......@@ -7,7 +7,7 @@
<key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
<integer>0</integer>
</dict>
</dict>
</dict>
......
......@@ -7,7 +7,7 @@
<key>SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
<integer>1</integer>
</dict>
</dict>
</dict>
......
......@@ -112,15 +112,15 @@ import SwiftEventBus
var totalCouponValue = swiftApi().getDealsCouponsSum()
if (totalCouponValue == 0.0) {
dfyEarnBannerView.isHidden = true
dfyEarnBannerHeight.constant = 0
dfyEarnBannerTopSpace.constant = 0
} else {
// if (totalCouponValue == 0.0) {
// dfyEarnBannerView.isHidden = true
// dfyEarnBannerHeight.constant = 0
// dfyEarnBannerTopSpace.constant = 0
// } else {
dfyEarnBannerView.isHidden = false
dfyEarnBannerHeight.constant = 75
dfyEarnBannerTopSpace.constant = 30
}
// }
totalCouponValue = Float(round(100 * totalCouponValue) / 100)
var totalCouponValueString = "0"
......