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
2026-03-16 16:02:24 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5b55cd2584c8b8ebdcfdcd9eec9a0b23fc4f5a37
5b55cd25
1 parent
85920af9
MyCouponsViewController table cell fixes
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
10 deletions
Package.swift
SwiftWarplyFramework/SwiftWarplyFramework/screens/MyCouponsViewController/MyCouponsViewController.swift
Package.swift
View file @
5b55cd2
...
...
@@ -55,8 +55,8 @@ let package = Package(
.
process
(
"screens/ProfileViewController/ProfileViewController.xib"
),
.
process
(
"screens/CampaignViewController/CampaignViewController.xib"
),
.
process
(
"cells/MyRewardsOfferCollectionViewCell/MyRewardsOfferCollectionViewCell.xib"
),
.
process
(
"cells/MyRewardsBannerOffersScrollTableViewCell/MyRewardsBannerOffersScrollTableViewCell.xib"
)
.
process
(
"
cells/MyCouponsViewController/MyCouponsViewController.xib"
)
.
process
(
"cells/MyRewardsBannerOffersScrollTableViewCell/MyRewardsBannerOffersScrollTableViewCell.xib"
)
,
.
process
(
"
screens/MyCouponsViewController/MyCouponsViewController.xib"
),
.
process
(
"cells/MyCouponsHeaderTableViewCell/MyCouponsHeaderTableViewCell.xib"
)
]
),
...
...
SwiftWarplyFramework/SwiftWarplyFramework/screens/MyCouponsViewController/MyCouponsViewController.swift
View file @
5b55cd2
...
...
@@ -276,14 +276,7 @@ extension MyCouponsViewController: UITableViewDelegate, UITableViewDataSource {
public
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
// return 1
if
(
section
==
2
)
{
if
(
forYouOffersSection
?
.
count
??
0
>
0
)
{
return
1
}
else
{
return
0
}
}
if
(
section
<=
3
)
{
if
(
section
<=
1
)
{
return
1
}
else
{
let
itemCount
=
filteredOffersSection
?
.
itemCount
??
0
...
...
Please
register
or
login
to post a comment