Manos Chorianopoulos

add getDealsCouponsSum to wallet

......@@ -92,7 +92,7 @@ import SwiftEventBus
dfyEarnView.layer.shadowOpacity = 1.0
dfyEarnView.layer.shadowRadius = 3.0
var totalCouponValue = self.dfyCoupons.reduce(0) { $0 + (Float($1._value) ?? 0) }
var totalCouponValue = swiftApi().getDealsCouponsSum()
totalCouponValue = Float(round(100 * totalCouponValue) / 100)
var totalCouponValueString = "0"
totalCouponValueString = String(format: "%.2f", totalCouponValue).replacingOccurrences(of: ".", with: ",", options: .literal, range: nil)
......