Merge branch 'master' of https://git.warp.ly/open-source/warply_sdk_framework
Showing
4 changed files
with
3 additions
and
3 deletions
No preview for this file type
... | @@ -87,7 +87,7 @@ extension AllGiftsView { | ... | @@ -87,7 +87,7 @@ extension AllGiftsView { |
87 | // addChild(couponsViewController) | 87 | // addChild(couponsViewController) |
88 | couponBarcodeViewController.view.frame = parentView.frame | 88 | couponBarcodeViewController.view.frame = parentView.frame |
89 | parentView.addSubview(couponBarcodeViewController.view) | 89 | parentView.addSubview(couponBarcodeViewController.view) |
90 | - couponBarcodeViewController.didMove(toParent: UIHostingController(rootView: self)) | 90 | +// couponBarcodeViewController.didMove(toParent: UIHostingController(rootView: self)) |
91 | } label: { | 91 | } label: { |
92 | HStack(alignment: .center, spacing: 0.0) { | 92 | HStack(alignment: .center, spacing: 0.0) { |
93 | 93 | ... | ... |
... | @@ -349,7 +349,7 @@ extension CouponBarcodeView { | ... | @@ -349,7 +349,7 @@ extension CouponBarcodeView { |
349 | struct CouponBarcodeView: View { | 349 | struct CouponBarcodeView: View { |
350 | var parentView: UIView | 350 | var parentView: UIView |
351 | var coupon: swiftApi.CouponItemModel | 351 | var coupon: swiftApi.CouponItemModel |
352 | - @State var couponset: CouponSetItemModel? | 352 | + @State var couponset: swiftApi.CouponSetItemModel? |
353 | 353 | ||
354 | var uiscreen = UIScreen.main.bounds | 354 | var uiscreen = UIScreen.main.bounds |
355 | 355 | ... | ... |
... | @@ -153,7 +153,7 @@ extension CouponView { | ... | @@ -153,7 +153,7 @@ extension CouponView { |
153 | struct CouponView: View { | 153 | struct CouponView: View { |
154 | var parentView: UIView | 154 | var parentView: UIView |
155 | var coupon: swiftApi.CouponSetItemModel | 155 | var coupon: swiftApi.CouponSetItemModel |
156 | - @State var couponset: CouponSetItemModel? | 156 | + @State var couponset: swiftApi.CouponSetItemModel? |
157 | 157 | ||
158 | var uiscreen = UIScreen.main.bounds | 158 | var uiscreen = UIScreen.main.bounds |
159 | 159 | ... | ... |
-
Please register or login to post a comment