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-20 13:10:33 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
757b46a5518173f581fe98cf9d8e874a0a94d7bd
757b46a5
1 parent
99f87c5e
small fix
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
SwiftWarplyFramework/SwiftWarplyFramework/screens/MyRewardsViewController/MyRewardsViewController.swift
SwiftWarplyFramework/SwiftWarplyFramework/screens/MyRewardsViewController/MyRewardsViewController.swift
View file @
757b46a
...
...
@@ -264,6 +264,10 @@ import UIKit
print
(
"✅ [MyRewardsViewController] Created banner section with
\(
self
.
bannerCampaigns
.
count
)
campaigns and
\(
self
.
articles
.
count
)
articles"
)
}
// Always append filters section right after the banner section
let
filtersSection
=
SectionModel
(
sectionType
:
.
myRewardsFilters
)
self
.
sections
.
append
(
filtersSection
)
// Reload table view with new sections
DispatchQueue
.
main
.
async
{
self
.
tableView
.
reloadData
()
...
...
@@ -574,10 +578,6 @@ import UIKit
// Always insert at index 0 (top of the list)
sections
.
insert
(
defaultProfileSection
,
at
:
0
)
profileSection
=
defaultProfileSection
// Insert filters cell immediately below profile info
let
filtersSection
=
SectionModel
(
sectionType
:
.
myRewardsFilters
)
sections
.
insert
(
filtersSection
,
at
:
1
)
}
private
func
updateProfileSectionWithData
(
_
profile
:
ProfileModel
)
{
...
...
Please
register
or
login
to post a comment