Manos Chorianopoulos

giftsView fix

...@@ -361,7 +361,7 @@ extension GiftsView { ...@@ -361,7 +361,7 @@ extension GiftsView {
361 // GiftItem Action 361 // GiftItem Action
362 // let tempItem = item.asDictionary 362 // let tempItem = item.asDictionary
363 let instanceOfMySwiftApi = swiftApi() 363 let instanceOfMySwiftApi = swiftApi()
364 - let couponViewController = instanceOfMySwiftApi.openCoupon(parentView, coupon: item)! 364 + let couponViewController = instanceOfMySwiftApi.openCoupon(parent: parentView, coupon: item)
365 couponViewController.view.tag = 2 365 couponViewController.view.tag = 2
366 // addChild(couponsViewController) 366 // addChild(couponsViewController)
367 couponViewController.view.frame = parentView.frame 367 couponViewController.view.frame = parentView.frame
......