Toggle navigation
Toggle navigation
This project
Loading...
Sign in
open-source
/
warply_sdk_framework
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
Manos Chorianopoulos
2023-07-25 17:12:11 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
74b5aafaa2bc00d5973ed82c23dc92f9c1d465d1
74b5aafa
1 parent
b3169b5d
fix UnifiedCouponBarcodeVC coupon press bug
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
SwiftWarplyFramework/SwiftWarplyFramework/UnifiedCouponBarcodeViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/UnifiedCouponBarcodeViewController.swift
View file @
74b5aaf
...
...
@@ -188,13 +188,15 @@ extension UnifiedCouponBarcodeViewController: UITableViewDelegate, UITableViewDa
// print("Coupon Description clicked: " + (couponSetData?.short_description ?? ""))
// print("Coupon Expiration clicked: " + (self.coupon?._coupons[indexPath.row].expiration ?? ""))
swiftApi
()
.
logTrackersEvent
(
"click"
,
(
"Coupon:"
+
(
self
.
coupon
?
.
_coupons
[
indexPath
.
row
]
.
name
??
""
)))
let
storyboard
=
UIStoryboard
(
name
:
"Main"
,
bundle
:
Bundle
(
for
:
MyEmptyClass
.
self
))
let
vc
=
storyboard
.
instantiateViewController
(
withIdentifier
:
"CouponBarcodeViewController"
)
as!
SwiftWarplyFramework
.
CouponBarcodeViewController
vc
.
coupon
=
self
.
coupon
?
.
_coupons
[
indexPath
.
row
]
vc
.
isMarket
=
true
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
if
(
indexPath
.
section
==
1
)
{
swiftApi
()
.
logTrackersEvent
(
"click"
,
(
"Coupon:"
+
(
self
.
coupon
?
.
_coupons
[
indexPath
.
row
]
.
name
??
""
)))
let
storyboard
=
UIStoryboard
(
name
:
"Main"
,
bundle
:
Bundle
(
for
:
MyEmptyClass
.
self
))
let
vc
=
storyboard
.
instantiateViewController
(
withIdentifier
:
"CouponBarcodeViewController"
)
as!
SwiftWarplyFramework
.
CouponBarcodeViewController
vc
.
coupon
=
self
.
coupon
?
.
_coupons
[
indexPath
.
row
]
vc
.
isMarket
=
true
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
}
public
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
...
...
Please
register
or
login
to post a comment