Manos Chorianopoulos

feedback changes

......@@ -23,7 +23,7 @@ import SwiftEventBus
getCouponsRequest()
setBackButton()
setNavigationTitle("Ενεργά κουπόνια")
setNavigationTitle("GIFTS FOR YOU")
// backgroundImage.image = UIImage(named: "coupons_scrollview_dark", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
......
......@@ -296,8 +296,8 @@ import SwiftEventBus
// MARK: - Actions
@IBAction func dfyBannerButtonAction(_ sender: Any) {
var totalCouponValue = swiftApi().getDealsCouponsSum()
if (totalCouponValue > 0.0) {
// var totalCouponValue = swiftApi().getDealsCouponsSum()
// if (totalCouponValue > 0.0) {
print("DFY coupon banner pressed!")
// analysis_pressed event
let dealsAnalysis = swiftApi.WarplyDealsAnalysisEventModel()
......@@ -315,11 +315,11 @@ import SwiftEventBus
SwiftEventBus.post("firebase", sender: firebaseEvent)
swiftApi().logTrackersEvent("click", ("LoyaltyHistoryScreen:" + "DealsBanner"))
}
// }
}
@IBAction func gfyBannerButtonAction(_ sender: Any) {
if (loyaltyBadge._couponCount > 0) {
// if (loyaltyBadge._couponCount > 0) {
// let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel()
// firebaseEvent._eventName = "did_tap_deals_for_you_badge"
// firebaseEvent.setParameter = ("screen", "Loyalty History")
......@@ -335,11 +335,11 @@ import SwiftEventBus
let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
let vc = storyboard.instantiateViewController(withIdentifier: "LoyaltyAnalysisViewController") as! SwiftWarplyFramework.LoyaltyAnalysisViewController
self.navigationController?.pushViewController(vc, animated: true)
}
// }
}
@IBAction func marketBannerButtonAction(_ sender: Any) {
if (self.unifiedCouponsDiscount > 0.0) {
// if (self.unifiedCouponsDiscount > 0.0) {
let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel()
firebaseEvent._eventName = "did_tap_market_badge"
firebaseEvent.setParameter = ("screen", "Loyalty History")
......@@ -350,6 +350,6 @@ import SwiftEventBus
let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
let vc = storyboard.instantiateViewController(withIdentifier: "MarketLoyaltyAnalysisViewController") as! SwiftWarplyFramework.MarketLoyaltyAnalysisViewController
self.navigationController?.pushViewController(vc, animated: true)
}
// }
}
}
......
......@@ -120,9 +120,9 @@ extension UIViewController {
} else {
// not iPad (iPhone, mac, tv, carPlay, unspecified)
if (fontWeight == "bold") {
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 18)
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 19)
} else {
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 18)
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 19)
}
}
titleLabel.adjustsFontSizeToFitWidth = true
......