Manos Chorianopoulos

fix back button arrow dimensions

...@@ -219,7 +219,6 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{ ...@@ -219,7 +219,6 @@ extension GiftsViewController: UITableViewDelegate, UITableViewDataSource{
219 let loyaltyCampaignIdExists = ccmsCampaigns.contains { $0._loyaltyCampaignId == campaigns[indexPath.row].session_uuid } 219 let loyaltyCampaignIdExists = ccmsCampaigns.contains { $0._loyaltyCampaignId == campaigns[indexPath.row].session_uuid }
220 220
221 if (loyaltyCampaignIdExists == true) { 221 if (loyaltyCampaignIdExists == true) {
222 - var ccmsCampaignFound:swiftApi.LoyaltyContextualOfferModel = swiftApi.LoyaltyContextualOfferModel()
223 for item in ccmsCampaigns { 222 for item in ccmsCampaigns {
224 if (item._loyaltyCampaignId == campaigns[indexPath.row].session_uuid) { 223 if (item._loyaltyCampaignId == campaigns[indexPath.row].session_uuid) {
225 cell.configureCell(ccms: item) 224 cell.configureCell(ccms: item)
......
...@@ -257,7 +257,6 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{ ...@@ -257,7 +257,6 @@ extension MFYViewController: UITableViewDelegate, UITableViewDataSource{
257 let loyaltyCampaignIdExists = ccmsCampaigns.contains { $0._loyaltyCampaignId == campaign.session_uuid } 257 let loyaltyCampaignIdExists = ccmsCampaigns.contains { $0._loyaltyCampaignId == campaign.session_uuid }
258 258
259 if (loyaltyCampaignIdExists == true) { 259 if (loyaltyCampaignIdExists == true) {
260 - var ccmsCampaignFound:swiftApi.LoyaltyContextualOfferModel = swiftApi.LoyaltyContextualOfferModel()
261 for item in ccmsCampaigns { 260 for item in ccmsCampaigns {
262 if (item._loyaltyCampaignId == campaign.session_uuid) { 261 if (item._loyaltyCampaignId == campaign.session_uuid) {
263 cell.configureCell(ccms: item) 262 cell.configureCell(ccms: item)
......
...@@ -48,7 +48,7 @@ extension UIViewController { ...@@ -48,7 +48,7 @@ extension UIViewController {
48 48
49 //your custom view for back image with custom size 49 //your custom view for back image with custom size
50 let view = UIView(frame: CGRect(x: 0, y: 0, width: 40, height: 40)) 50 let view = UIView(frame: CGRect(x: 0, y: 0, width: 40, height: 40))
51 - let imageView = UIImageView(frame: CGRect(x: 10, y: 10, width: 18, height: 18)) 51 + let imageView = UIImageView(frame: CGRect(x: 10, y: 7, width: 24, height: 24))
52 52
53 if let imgBackArrow = UIImage(named: icon, in: Bundle(for: MyEmptyClass.self), compatibleWith: nil) { 53 if let imgBackArrow = UIImage(named: icon, in: Bundle(for: MyEmptyClass.self), compatibleWith: nil) {
54 imageView.image = imgBackArrow 54 imageView.image = imgBackArrow
......