Manos Chorianopoulos

small fix

......@@ -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) {
......