Showing
1 changed file
with
5 additions
and
3 deletions
... | @@ -214,10 +214,12 @@ extension MyRewardsViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -214,10 +214,12 @@ extension MyRewardsViewController: UITableViewDelegate, UITableViewDataSource{ |
214 | cell.configureCell(data: sectionModel) | 214 | cell.configureCell(data: sectionModel) |
215 | return cell | 215 | return cell |
216 | 216 | ||
217 | - case .profileHeader, .profileQuestionnaire, .profileCouponFilters, .staticContent: | 217 | + case .profileHeader, .profileQuestionnaire, .profileCouponFilters, .profileCoupon, .staticContent: |
218 | - // These will be implemented later when needed | 218 | + // These sections don't belong in MyRewardsViewController - return empty cell |
219 | + // This should not happen in normal operation since MyRewardsViewController | ||
220 | + // should only contain MyRewards-specific sections | ||
219 | let cell = UITableViewCell() | 221 | let cell = UITableViewCell() |
220 | - cell.textLabel?.text = sectionModel.title ?? "Section" | 222 | + cell.isHidden = true |
221 | return cell | 223 | return cell |
222 | } | 224 | } |
223 | } | 225 | } | ... | ... |
-
Please register or login to post a comment