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
2025-05-30 11:29:52 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
30002c99615406ea54e914c0b4080715559d439b
30002c99
1 parent
d0bace07
ProfileViewController coupon list fixes
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/screens/ProfileViewController/ProfileViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
30002c9
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/screens/ProfileViewController/ProfileViewController.swift
View file @
30002c9
...
...
@@ -275,11 +275,17 @@ import UIKit
extension
ProfileViewController
:
UITableViewDelegate
,
UITableViewDataSource
{
public
func
numberOfSections
(
in
tableView
:
UITableView
)
->
Int
{
return
4
+
(
filteredOffersSection
?
.
offers
.
count
??
0
)
// return 4 + (filteredOffersSection?.offers.count ?? 0)
return
5
}
public
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
return
1
// return 1
if
(
section
<=
3
)
{
return
1
}
else
{
return
filteredOffersSection
?
.
offers
.
count
??
0
}
}
public
func
tableView
(
_
tableView
:
UITableView
,
heightForRowAt
indexPath
:
IndexPath
)
->
CGFloat
{
...
...
Please
register
or
login
to post a comment