Manos Chorianopoulos

small fix

...@@ -263,6 +263,10 @@ import UIKit ...@@ -263,6 +263,10 @@ import UIKit
263 263
264 print("✅ [MyRewardsViewController] Created banner section with \(self.bannerCampaigns.count) campaigns and \(self.articles.count) articles") 264 print("✅ [MyRewardsViewController] Created banner section with \(self.bannerCampaigns.count) campaigns and \(self.articles.count) articles")
265 } 265 }
266 +
267 + // Always append filters section right after the banner section
268 + let filtersSection = SectionModel(sectionType: .myRewardsFilters)
269 + self.sections.append(filtersSection)
266 270
267 // Reload table view with new sections 271 // Reload table view with new sections
268 DispatchQueue.main.async { 272 DispatchQueue.main.async {
...@@ -574,10 +578,6 @@ import UIKit ...@@ -574,10 +578,6 @@ import UIKit
574 // Always insert at index 0 (top of the list) 578 // Always insert at index 0 (top of the list)
575 sections.insert(defaultProfileSection, at: 0) 579 sections.insert(defaultProfileSection, at: 0)
576 profileSection = defaultProfileSection 580 profileSection = defaultProfileSection
577 -
578 - // Insert filters cell immediately below profile info
579 - let filtersSection = SectionModel(sectionType: .myRewardsFilters)
580 - sections.insert(filtersSection, at: 1)
581 } 581 }
582 582
583 private func updateProfileSectionWithData(_ profile: ProfileModel) { 583 private func updateProfileSectionWithData(_ profile: ProfileModel) {
......