Manos Chorianopoulos

feedback changes

...@@ -23,7 +23,7 @@ import SwiftEventBus ...@@ -23,7 +23,7 @@ import SwiftEventBus
23 getCouponsRequest() 23 getCouponsRequest()
24 24
25 setBackButton() 25 setBackButton()
26 - setNavigationTitle("Ενεργά κουπόνια") 26 + setNavigationTitle("GIFTS FOR YOU")
27 27
28 // backgroundImage.image = UIImage(named: "coupons_scrollview_dark", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) 28 // backgroundImage.image = UIImage(named: "coupons_scrollview_dark", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
29 29
......
...@@ -296,8 +296,8 @@ import SwiftEventBus ...@@ -296,8 +296,8 @@ import SwiftEventBus
296 296
297 // MARK: - Actions 297 // MARK: - Actions
298 @IBAction func dfyBannerButtonAction(_ sender: Any) { 298 @IBAction func dfyBannerButtonAction(_ sender: Any) {
299 - var totalCouponValue = swiftApi().getDealsCouponsSum() 299 +// var totalCouponValue = swiftApi().getDealsCouponsSum()
300 - if (totalCouponValue > 0.0) { 300 +// if (totalCouponValue > 0.0) {
301 print("DFY coupon banner pressed!") 301 print("DFY coupon banner pressed!")
302 // analysis_pressed event 302 // analysis_pressed event
303 let dealsAnalysis = swiftApi.WarplyDealsAnalysisEventModel() 303 let dealsAnalysis = swiftApi.WarplyDealsAnalysisEventModel()
...@@ -315,11 +315,11 @@ import SwiftEventBus ...@@ -315,11 +315,11 @@ import SwiftEventBus
315 SwiftEventBus.post("firebase", sender: firebaseEvent) 315 SwiftEventBus.post("firebase", sender: firebaseEvent)
316 316
317 swiftApi().logTrackersEvent("click", ("LoyaltyHistoryScreen:" + "DealsBanner")) 317 swiftApi().logTrackersEvent("click", ("LoyaltyHistoryScreen:" + "DealsBanner"))
318 - } 318 +// }
319 } 319 }
320 320
321 @IBAction func gfyBannerButtonAction(_ sender: Any) { 321 @IBAction func gfyBannerButtonAction(_ sender: Any) {
322 - if (loyaltyBadge._couponCount > 0) { 322 +// if (loyaltyBadge._couponCount > 0) {
323 // let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() 323 // let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel()
324 // firebaseEvent._eventName = "did_tap_deals_for_you_badge" 324 // firebaseEvent._eventName = "did_tap_deals_for_you_badge"
325 // firebaseEvent.setParameter = ("screen", "Loyalty History") 325 // firebaseEvent.setParameter = ("screen", "Loyalty History")
...@@ -335,11 +335,11 @@ import SwiftEventBus ...@@ -335,11 +335,11 @@ import SwiftEventBus
335 let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) 335 let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
336 let vc = storyboard.instantiateViewController(withIdentifier: "LoyaltyAnalysisViewController") as! SwiftWarplyFramework.LoyaltyAnalysisViewController 336 let vc = storyboard.instantiateViewController(withIdentifier: "LoyaltyAnalysisViewController") as! SwiftWarplyFramework.LoyaltyAnalysisViewController
337 self.navigationController?.pushViewController(vc, animated: true) 337 self.navigationController?.pushViewController(vc, animated: true)
338 - } 338 +// }
339 } 339 }
340 340
341 @IBAction func marketBannerButtonAction(_ sender: Any) { 341 @IBAction func marketBannerButtonAction(_ sender: Any) {
342 - if (self.unifiedCouponsDiscount > 0.0) { 342 +// if (self.unifiedCouponsDiscount > 0.0) {
343 let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() 343 let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel()
344 firebaseEvent._eventName = "did_tap_market_badge" 344 firebaseEvent._eventName = "did_tap_market_badge"
345 firebaseEvent.setParameter = ("screen", "Loyalty History") 345 firebaseEvent.setParameter = ("screen", "Loyalty History")
...@@ -350,6 +350,6 @@ import SwiftEventBus ...@@ -350,6 +350,6 @@ import SwiftEventBus
350 let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) 350 let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
351 let vc = storyboard.instantiateViewController(withIdentifier: "MarketLoyaltyAnalysisViewController") as! SwiftWarplyFramework.MarketLoyaltyAnalysisViewController 351 let vc = storyboard.instantiateViewController(withIdentifier: "MarketLoyaltyAnalysisViewController") as! SwiftWarplyFramework.MarketLoyaltyAnalysisViewController
352 self.navigationController?.pushViewController(vc, animated: true) 352 self.navigationController?.pushViewController(vc, animated: true)
353 - } 353 +// }
354 } 354 }
355 } 355 }
......
...@@ -120,9 +120,9 @@ extension UIViewController { ...@@ -120,9 +120,9 @@ extension UIViewController {
120 } else { 120 } else {
121 // not iPad (iPhone, mac, tv, carPlay, unspecified) 121 // not iPad (iPhone, mac, tv, carPlay, unspecified)
122 if (fontWeight == "bold") { 122 if (fontWeight == "bold") {
123 - titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 18) 123 + titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 19)
124 } else { 124 } else {
125 - titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 18) 125 + titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 19)
126 } 126 }
127 } 127 }
128 titleLabel.adjustsFontSizeToFitWidth = true 128 titleLabel.adjustsFontSizeToFitWidth = true
......