Manos Chorianopoulos
......@@ -87,7 +87,7 @@ extension AllGiftsView {
// addChild(couponsViewController)
couponBarcodeViewController.view.frame = parentView.frame
parentView.addSubview(couponBarcodeViewController.view)
couponBarcodeViewController.didMove(toParent: UIHostingController(rootView: self))
// couponBarcodeViewController.didMove(toParent: UIHostingController(rootView: self))
} label: {
HStack(alignment: .center, spacing: 0.0) {
......
......@@ -349,7 +349,7 @@ extension CouponBarcodeView {
struct CouponBarcodeView: View {
var parentView: UIView
var coupon: swiftApi.CouponItemModel
@State var couponset: CouponSetItemModel?
@State var couponset: swiftApi.CouponSetItemModel?
var uiscreen = UIScreen.main.bounds
......
......@@ -153,7 +153,7 @@ extension CouponView {
struct CouponView: View {
var parentView: UIView
var coupon: swiftApi.CouponSetItemModel
@State var couponset: CouponSetItemModel?
@State var couponset: swiftApi.CouponSetItemModel?
var uiscreen = UIScreen.main.bounds
......