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-29 17:48:37 +0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
66f7523cfc40fa31fd389b666c5cca154e5a62e2
66f7523c
1 parent
a6104e22
myRewards and profile fixes
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
16 deletions
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
SwiftWarplyFramework/SwiftWarplyFramework/cells/ProfileCouponTableViewCell/ProfileCouponTableViewCell.xib
SwiftWarplyFramework/SwiftWarplyFramework/screens/MyRewardsViewController/MyRewardsViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/screens/ProfileViewController/ProfileViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework.xcworkspace/xcuserdata/manos.xcuserdatad/UserInterfaceState.xcuserstate
View file @
66f7523
No preview for this file type
SwiftWarplyFramework/SwiftWarplyFramework/cells/ProfileCouponTableViewCell/ProfileCouponTableViewCell.xib
View file @
66f7523
...
...
@@ -153,7 +153,7 @@
<constraint
firstItem=
"x0X-za-HZ9"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"22"
id=
"SzO-Fk-ZCB"
/>
<constraint
firstItem=
"x0X-za-HZ9"
firstAttribute=
"top"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"top"
id=
"uQN-BA-o6w"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"x0X-za-HZ9"
secondAttribute=
"trailing"
constant=
"22"
id=
"vi4-dI-lx3"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"x0X-za-HZ9"
secondAttribute=
"bottom"
id=
"zsL-aX-JRL"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"x0X-za-HZ9"
secondAttribute=
"bottom"
constant=
"19"
id=
"zsL-aX-JRL"
/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide
key=
"safeArea"
id=
"njF-e1-oar"
/>
...
...
SwiftWarplyFramework/SwiftWarplyFramework/screens/MyRewardsViewController/MyRewardsViewController.swift
View file @
66f7523
...
...
@@ -275,9 +275,9 @@ import UIKit
// match - survey - tesla - energy saver
let
contestUrls
:
[
String
]
=
[
"https://warply.s3.amazonaws.com/dei/campaigns/match_dev/index.html"
,
"https://warply.s3.amazonaws.com/dei/campaigns/questionnaire_dev/index.html"
"https://warply.s3.amazonaws.com/dei/campaigns/questionnaire_dev/index.html"
,
"https://warply.s3.amazonaws.com/dei/campaigns/tesla_dev/index.html"
,
"https://warply.s3.amazonaws.com/dei/campaigns/EnergySaverContest_dev/index.html"
,
"https://warply.s3.amazonaws.com/dei/campaigns/EnergySaverContest_dev/index.html"
]
var
bannerOffersSection
:
SectionModel
?
...
...
SwiftWarplyFramework/SwiftWarplyFramework/screens/ProfileViewController/ProfileViewController.swift
View file @
66f7523
...
...
@@ -274,24 +274,25 @@ extension ProfileViewController: UITableViewDelegate, UITableViewDataSource {
}
public
func
tableView
(
_
tableView
:
UITableView
,
viewForHeaderInSection
section
:
Int
)
->
UIView
?
{
// return nil
if
(
section
<=
3
)
{
return
nil
}
else
{
// Return clear view for spacing
let
headerView
=
UIView
()
headerView
.
backgroundColor
=
UIColor
.
white
return
headerView
}
// if (section <= 3) {
// return nil
// } else {
// // Return clear view for spacing
//// let headerView = UIView()
// let headerView = UIView(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 19))
// headerView.backgroundColor = UIColor.white
// return headerView
// }
}
public
func
tableView
(
_
tableView
:
UITableView
,
heightForHeaderInSection
section
:
Int
)
->
CGFloat
{
// return 0.0
if
(
section
<=
3
)
{
return
0.0
}
else
{
return
19.0
}
// if (section <= 3) {
// return 0.0
// } else {
// return 19.0
// }
}
public
func
tableView
(
_
tableView
:
UITableView
,
heightForFooterInSection
section
:
Int
)
->
CGFloat
{
...
...
Please
register
or
login
to post a comment