Manos Chorianopoulos

MyRewardsVC fixes

......@@ -214,10 +214,12 @@ extension MyRewardsViewController: UITableViewDelegate, UITableViewDataSource{
cell.configureCell(data: sectionModel)
return cell
case .profileHeader, .profileQuestionnaire, .profileCouponFilters, .staticContent:
// These will be implemented later when needed
case .profileHeader, .profileQuestionnaire, .profileCouponFilters, .profileCoupon, .staticContent:
// These sections don't belong in MyRewardsViewController - return empty cell
// This should not happen in normal operation since MyRewardsViewController
// should only contain MyRewards-specific sections
let cell = UITableViewCell()
cell.textLabel?.text = sectionModel.title ?? "Section"
cell.isHidden = true
return cell
}
}
......